Questions tagged [visual-studio-2010]

Visual Studio 2010 is an integrated development environment (IDE) from Microsoft. Use this tag only for questions arising from the use of this particular version of Visual Studio, and not about any code just written in it.

Visual Studio 2010 is the version of Visual Studio preceding Visual Studio 2012 and succeeding Visual Studio 2008. It comes with partial C++11 support and the .NET Framework 4, as well as built-in tools for working with a variety of native, .NET and web development languages. It has integrated support for developing Microsoft Silverlight applications, including an interactive designer.

Visual Studio 2010 offers several tools to make parallel programming simpler: in addition to the Parallel Extensions for the .NET Framework and the Parallel Patterns Library for native code, Visual Studio 2010 includes tools for debugging parallel applications.

Visual Studio 2010 got its first service pack on March 3, 2011 with build number SP1Rel 10.0.40219.1.

More information:

46748 questions
329
votes
6 answers

How to Turn Off Showing Whitespace Characters in Visual Studio IDE

I don't know what I did but I don't know how to get rid of those arrows on the left.
Juan
  • 15,274
  • 23
  • 105
  • 187
325
votes
11 answers

Visual Studio: How to show Overloads in IntelliSense?

Once code has been written, the only way I know of to view the overloads for a method is to actually edit the method by deleting the Parenthesis () and reopening them. Is there a shortcut key that I could press to activate this instead of having to…
user153923
312
votes
15 answers

How do I cancel a build that is in progress in Visual Studio?

Almost unconsciously I hit the keyboard build macro that builds my entire solution. This can happen just as I notice a code change. The build dominates my computer, and I basically have to wait till it finishes. 10 seconds! How can I cancel a build?
Valamas
  • 24,169
  • 25
  • 107
  • 177
302
votes
9 answers

Is std::unique_ptr required to know the full definition of T?

I have some code in a header that looks like this: #include class Thing; class MyClass { std::unique_ptr< Thing > my_thing; }; If I include this header in a cpp that does not include the Thing type definition, then this does not…
Klaim
  • 67,274
  • 36
  • 133
  • 188
302
votes
12 answers

How to debug a single thread in Visual Studio?

I have a solution with some projects. There are several break-points in different projects. I want to trace the first thread hit one of these break-points and continue tracing that single thread despite of other threads entering the same…
Xaqron
  • 29,931
  • 42
  • 140
  • 205
302
votes
14 answers

Auto select file in Solution Explorer from its open tab

Normally, many files in Visual Studio 2010 are opened in many tabs, while massively working on a project. Many times, I find myself right-clicking on a tab title and searching for Show/Select/Scroll-to this file in Solution Explorer, and I can't…
Yaakov Shoham
  • 10,182
  • 7
  • 37
  • 45
301
votes
37 answers

Visual Studio 2010 - recommended extensions

What are your recommended extensions for Visual Studio 2010? (Please indicate if its free or not And also its purpose / function too)
CD..
  • 72,281
  • 25
  • 154
  • 163
292
votes
17 answers

Cannot obtain value of local or argument as it is not available at this instruction pointer, possibly because it has been optimized away

Visual Studio 2010 kills (there is no other word) data in one of the arguments of the function in the unsafe block. What could cause this error? The following message shows by the debugger. Cannot obtain value of local or argument as it is not…
curiousity
  • 4,703
  • 8
  • 39
  • 59
257
votes
49 answers

Unable to load DLL 'SQLite.Interop.dll'

Periodically I am getting the following exception: Unable to load DLL 'SQLite.Interop.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) I am using 1.0.82.0. version, installing it with nuget in VS2010, OS Win7…
xll
  • 3,019
  • 2
  • 16
  • 19
254
votes
28 answers

Configuration System Failed to Initialize

I'm currently creating a Login form and have this code: string connectionString = ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString; try { using (OdbcConnection connect = new OdbcConnection(connectionString)) { …
sean
  • 9,198
  • 22
  • 65
  • 80
253
votes
10 answers

IIS Express Windows Authentication

I'm trying to use IIS Express with VS2010 to host a silverlight application. I modified my applicationhost.config file to allow for modification of the proper configuration settings. I have the following in my web.config:
248
votes
7 answers

Visual Studio Clicking Find Results Opens Code in Wrong Window

I'm using Visual Studio 2010 and when I do a "Find in Files" the results are returned to the "Find Results 1" window which is docked below my code editor window. Before, I would double click on one of the results in the Find Results window and the…
JPM
  • 2,481
  • 2
  • 14
  • 3
243
votes
8 answers

Visual Studio Disabling Missing XML Comment Warning

I have a project with over 500 Missing XML Comment warnings. I know I can remove the XML Comment feature, or paste empty comment snippets everywhere, but I'd prefer a generic solution where I can make one change that disables all warnings of this…
Nivid Dholakia
  • 5,272
  • 4
  • 30
  • 55
242
votes
7 answers

See all breakpoints in Visual Studio 2010+

Is there a window in Visual Studio 2010 and newer where I can see all the breakpoints that I have in my project or solution?
user4951
  • 32,206
  • 53
  • 172
  • 282
238
votes
20 answers

Dependent DLL is not getting copied to the build output folder in Visual Studio

I have a visual studio solution. I have many projects in the solution. There is one main project which acts as the start up and uses other projects. There is one project say "ProjectX". Its reference is added to main project. The ProjectX references…
Brij
  • 11,731
  • 22
  • 78
  • 116