I'm moving one of my macros over to become a VS2010 extension. I have the line from the macro...
Dim items As EnvDTE.UIHierarchyItems = DTE.ToolWindows.SolutionExplorer.UIHierarchyItems
I've managed to get DTE - DTE dte = GetService(typeof(SDTE)) as DTE;
but it does contain a ToolWindows Property.
I tried using dte.Windows to get th...
I have to update the work-items of my team very often. But since my office is in a different country from the other team members, the browsing process is very inconvenient: every time I click a work-item, my Visual Studio (VS) tries to connect to the TFS server, costing me 1-2 seconds! I want VS to stop this behavior so that no connectio...
I have tried attaching the debugger to the IIS worker process and have a break point on the asp page. But it never hits the breakpoint.
I am able to debug the aspx pages in the same site using the above process.
...
I have the following (minimized) code, which worked in VC2005, but no longer works in 2010.
template <typename TDataType>
class TSpecWrapper
{
public:
typedef typename TDataType::parent_type index_type;
public:
template <bool THasTriangles>
void Spec(index_type& io_index)
{ std::cout << "False version" << s...
I lost the squiggly red underline feature in Visual Studio 2010. I experimented with some plugins/extensions like Coderush/Code map. I have reset all settings for fonts and colors to "use default" but the squiggly red underline feature does'nt return. Any ideas?
EDIT: I did uninstall all extensions/plugins except the visual studio colo...
When I try to run my test suite, which works fine under Visual Studio 2008, I get the following error in the Output window:
Error loading J:\VBProjects2010\Libraries\PFTest\PFTest\bin\Debug\PFTest.dll: Could not load file or assembly 'file:///J:\VBProjects2010\Libraries\PFTest\PFTest\bin\Debug\PFTest.dll' or one of its dependencies. Ope...
Hi guys can I use Visual Studio 2010 express edition to create a telco-grade applications?
...
I'm working on a school project desktop application in c# using Visual Studio 2010 (.NET 4.0) and the application uses a SQL Server 2008 database that's running on a SQL Server instance on the development machine I'm working with.
My question is how do I package up the database with the c# project so that the application works no matter...
How can I do that ? Can I work in VS2010 IDE but have it compile with the VS C++ 6.0 compiler?
And can I work in VS2010 IDE and have it compile by using the the VS2008 compiler ?
...
Whilst going through the "ADO.Net Entity Data Model" wizard, I select 3 tables from within a Database to add to my edmx file, and when the file is generated only one of the three tables is there. There was no error or warning to explain why the other tables haven't been added. If I try and add one of the failing tables on its own, again,...
I upgraded from VS 2008 to VS 2010 but the menu bar has not displayed. That only displays when I press the "Alt" key. I refered the question in following link: http://stackoverflow.com/questions/2905436/missing-menu-bar-in-visual-studio-2010 and performed as follows the instructions but no success.
Does anybody give me some instructions...
I have a Silverlight application with some maps, and in the same page this application is running, I have a table that describe the values related to the map. I want to create a way that when I put the mouse over some icon in the map, the row with the correspondent ID get highlighted. Is that even possible? I'm using simple asp tables, o...
I have got a pretty good config machine and VS 2010 Web Express edition debugging is very slow. it gets stuck between lines. I dont face this issue with Visual studio 2010 prof edition.
Any hotfix or patches or solution for this?
...
Hello everyone,
I recently converted my solution from Visual Studio 2008 to 2010, hoping I would be able to use WPF 4.0's SelectionBrush property. I try to access this property in the XAML for my project as follows:
<TextBox SelectionBrush="Aqua"/>
Disappointingly, It underlines my code and says: The property 'SelectionBrush' was no...
I am having a problem with VS2010 randomly disabling certain keys like my arrow and backspace keys when editing files in stored in VSS. It seemed to have just started happening the other day, but simply restarting VS would fix the problem and it may come back a day or two later. Now I restart and it lasts maybe 10 minutes or until I op...
I am curious to know that whether optional parameter introduced in C#4 is backward compatible or not?
Let me clarify my question with a simple example. Suppose I write the following code in C#4 on .Net2 in VS2010:
public void Foo(int val1, int val2, int val3 = 5){ .... }
Now I compiled the code, make a dll and reference it to a C#2 /...
It's been a while since I last used T4 and this is probably a silly question...
Is it possible to reference an arbitrary assembly from a template?
Example:
I have a class that I'd like to use in Project X
Project X.Test references X and contains the .tt file
I assume the following should work
<#@ assembly name="X" #>
But I get t...
Is it possible to call WPF from a VS2010 macro?
If I try to add a reference, the PresentationFramework etc. are not there. Is there any way around this aside from writing an addin?
...
hello,
since some days I have on the right side of any visual studio tab a little padlock symbol. What is it?
I thought it was something like source-control, but my solution is not checked in source-control.
Thank you for your answer in advance!
EDIT: Thank you for your answers so far, BUT I can edit the files.
When I am in debug mode...
I have a VS 2010 solution I've been doing schema comparisons with a DB 2008 project.. It's been working against my local SQL as well as a dev/staging database. i checked out the project on another computer, and now when trying to compare down to the local express db I get the following error. "You cannot write updates to the target whe...