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
17
votes
3 answers

How can I tell Visual Studio/Microsoft's C compiler to allow variable declarations after the first statement?

I have code that compiles on the GNUARM compiler, but Visual Studio 2010 issues errors. The issue involves declaring variables after the first statement in a C language file: main.c #include #include int main(void) { int i =…
Thomas Matthews
  • 56,849
  • 17
  • 98
  • 154
17
votes
1 answer

Thread window is empty

I am debugging console application, it has several threads running. Then why Thread Window is empty in VS 2010? I do not see any thread listed here, even main thread is not here. Do I need to enable something?
Tomas
  • 17,551
  • 43
  • 152
  • 257
17
votes
3 answers

How to implement a Stop/Cancel button?

I have a method processData() that takes a large amount of data and does some work on it. There's a start button that initiates the processing. I need a cancel button that stops the processing wherever it's at. How can I implement something like…
Jack
  • 5,680
  • 10
  • 49
  • 74
17
votes
5 answers

Publishing my web application can take long time to accomplish because of the .suo file

I have a web application project that I publish via Visual Studio 2010 to my server. My problem is that it can take very long time before it can actually publish it. Maybe 10 minutes! It doesnt happen everytime but very often. Here's a summary of…
17
votes
4 answers

Make CSS 3.0 the Default in Visual Studio 2010 SP1 Web Update

I'm working on a HTML5 / CSS 3.0 / MVC 3 project in Visual Studio 2010. Every time I restart VS and then open a CSS file, it's always set to 'CSS 2.1'. Is there a way to tell VS I want to use CSS 3.0 always (or at least by default)? BTW, I have…
Michael Kennedy
  • 3,202
  • 2
  • 25
  • 34
17
votes
4 answers

Publish a Web Application from the Command Line

I've got a series of .NET 4 based web applications (WCF and Web) within the same solution, but need to selectively publish, from the command line. I've tried various things so far, MSBuild, aspnet_compiler, but nothing, to date has worked. I need to…
Kieron
  • 26,748
  • 16
  • 78
  • 122
17
votes
1 answer

Including a .idl file in a C++ project

I'm building a project in C++ which uses DirectShow's video capture library to connect to a camera. The video card manufacturer (BlackMagic) has provided .idl (Interface Definition Language) files which add new capture graphs to the standard…
wyatt
  • 3,188
  • 10
  • 36
  • 48
17
votes
2 answers

Autocompleting initializer with Resharper 6 in Visual Studio 2010

I was wondering if there is any way to shortcut the process of object initialization with VS 2010 and Resharper (6). When presented with the yellow tool tip below I'd like to have it create an assignment for each field. For instance, it would…
Chester
  • 171
  • 1
  • 3
17
votes
3 answers

Resharper 6.0 tab instead of spaces

How to force resharper 6.0 to use tab instead of spaces during code clearup ?
user656822
  • 1,167
  • 2
  • 12
  • 30
17
votes
5 answers

VC++ cl.exe -- DLL not found

I added the bin directory of the VS2010 (not SP1) C++ compiler to my PATH variable on Windows XP. When i try to run it, it tells me that a DLL was not found. I added this line to my PATH: C:\Program Files\Microsoft Visual Studio…
Tim
  • 834
  • 2
  • 12
  • 31
17
votes
6 answers

visual studio 2010 unable to Publish to local web site. access denied

I just reinstalled IIS7.5 after a lot of ugly messing around. I admittedly had no idea what I was doing. I finally was able to renamed my windows\system32\inetsrv folder so that when I reinstalled IIS, I would get the default settings. I took a wild…
Chad
  • 23,658
  • 51
  • 191
  • 321
17
votes
2 answers

Force a merge in TFS after conflicts have been resolved

TFS 2010, VS 2010 We have a situation in TFS where a developer has not been following proper merge procedure. When I run a compare of his developer directory against trunk, I get a number of files marked as either different or not in trunk at all. …
James King
  • 6,233
  • 5
  • 42
  • 63
17
votes
3 answers

How to keep IIS Express running after finished debugging?

I'm using IIS 7 express to test a ASP.Net MVC 3 project on my development machine and normally it keeps running after I finished debugging, which is a good thing so that I can perform small tests directly in the browser without needing to run the…
holiveira
  • 4,445
  • 9
  • 36
  • 39
17
votes
2 answers

CA1014 Mark 'some.dll' with CLSCompliant(true) error message with StyleCop of VS2010

When I run StyleCop, I got this error message saying that I need to Mark the dll with CLSCompliant(true). What is this? How can I set the Mark the dll with CLSCompliant(true)? Error 4 CA1014 : Microsoft.Design : Mark 'SOMETHING.dll' with…
prosseek
  • 182,215
  • 215
  • 566
  • 871
17
votes
3 answers

how to properly install stylecop?

Well i downloaded the newest version, then installed, checked to instal entire files on local drive. I restarted VS2010 and rerun it. Unfortunatelly i can't find in menu > tools anything with should be connected with stylecop ( as in tutorial "how…
deadfish
  • 11,996
  • 12
  • 87
  • 136
1 2 3
99
100