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

What causes a "Cannot resolve dependency error" from MsBuild?

I'm trying to set up some build scripts for continuous integration and I'm finding something weird. My solution compiles fine from Visual Studio 2010, but fails with an error when I build the exact same thing from the command line with…
Bevan
  • 43,618
  • 10
  • 81
  • 133
17
votes
5 answers

Adding items to RibbonDropDown at runtime

So I have a dropdown menu in a ribbon with contents that can be changed while it is being used. Outlook is also happy to let me 'add' or 'insert' items into it, as long as I do not add more than 1 item. If I try to, I'll be told that the index is…
CodeMinion
  • 653
  • 2
  • 10
  • 24
17
votes
3 answers

Visual Studio 2010 "Not enough storage is available to process this command"

I'm fighting with VS 2010 and this error that seems to be very common in previous versions, but it looks like not everyone is having it in the latest version. I've got VS 2010 SP1 and I'm getting this error quite often. The problem is that it's not…
Daniel Perez
  • 4,292
  • 4
  • 29
  • 54
17
votes
4 answers

VS attaching to process disabled

A few days ago, the attach button in "Attach to process" dialogue became disabled in VS 2010 and VS 2008 likewise. At first I thought that it is just an extension I've installed in VS 2010 but then I noticed it is the same in VS 2008. The both VS's…
17
votes
5 answers

How to disable script debugging in Visual Studio 2010 when running Asp.Net website project?

I'm creating a website in Visual Studio 2010. I would like to use Visual Studio for C# debugging, without using it as JavaScript debugger. Is there a way to disable script debugging for Asp.Net website projects? I run my projects by hitting F5 in my…
Kees C. Bakker
  • 32,294
  • 27
  • 115
  • 203
17
votes
2 answers

Why is the build failing in Visual Studio because it cannot resolve namespaces from referenced assemblies?

I have 3 class library projects. Lets call them A, B & C. I have added project reference of A & B into the project C. A & B are building without any error or warning. Code(Class file) from the project C uses public classes from A & B. When I add…
Learner
  • 4,661
  • 9
  • 56
  • 102
17
votes
4 answers

Is it possible to use the logical call context within a unit test in VS 2010?

Is it possible to make this test not throw an exception? It appears that adding any non-GACed class into the logical call context causes an exception to be thrown in line 2 of the test. Test 'TestProject1.UnitTest1.TestMethod1' failed: Test…
aquinas
  • 23,318
  • 5
  • 58
  • 81
17
votes
1 answer

How can I include sample data files in VS unit tests?

I've got unit tests I want to run against a sample XML file. How should I go about exposing these files to the unit tests? I've tried playing with the content build action, but I don't have access to an application context so GetContentStream is…
Firoso
  • 6,647
  • 10
  • 45
  • 91
17
votes
2 answers

System.web.extensions reference dll is missing from the 2.0 framework .net references in VS2010?

I'm having a similar problem as this person. I'm trying to work with an old project that uses 2.0 framework in visual studio 2010. However it won't recognize that the System.web.extensions dll is part of that framework when it filters to 2.0…
colinbashbash
  • 996
  • 2
  • 9
  • 19
17
votes
6 answers

Black Background for XAML Editor

I am currently working on a user control that has white text and a transparent background. Unfortunately because the XAML design view within VS2010 has a white background I cannot see anything that I am designing! I have been through all the…
ColinE
  • 68,894
  • 15
  • 164
  • 232
17
votes
3 answers

What is the difference between Visual Studio and Visual Studio Express?

I know there are basic differences like no plugins and such. But if I use Visual Studio Pro at work and want to do some ASP.NET MVC apps at home, would I find Visual Studio Express a hindrance?
Mike Wills
  • 20,959
  • 28
  • 93
  • 149
17
votes
3 answers

Is there a way to prevent Visual Studio from breaking on exceptions in a specific method?

I know I can control the way Visual Studio handles exceptions according to their type and to the fact that they're eventually caught using the "Exception" dialog. However, I've got a library that's internally throwing (and catching) an …
17
votes
7 answers

IIS Express Web Server - (Every) Port is in Use?

Today I installed VS2010 SP1 Beta, and IIS 7 Express, as I currently have IIS5 on my local development machine and thought I'd try IIS Express out. I have gone into the properties window for my Web Application, checked the 'Use IIS Express'…
marcusstarnes
  • 6,393
  • 14
  • 65
  • 112
17
votes
7 answers

Configure Visual Studio 2010 Remote Debugger

I have installed the Visual Studio 2010 Remote Debugger on a Windows Server 2003 (x86) server, and am attempting to connect to it results in the following error: Unable to connect to the Microsoft Visual Studio Remote Debugging Monitor named…
C. Ross
  • 31,137
  • 42
  • 147
  • 238
17
votes
1 answer

Compiling and Using JSONCPP on Visual Studio10 with Boost

I have recently compiled the SVN version of JSONCPP using the VS71 makefiles. It worked, but I get a lot of linker errors 1>msvcprt.lib(MSVCP100.dll) : error LNK2005: "public: __int64 __thiscall std::basic_streambuf
Yelnats
  • 335
  • 1
  • 3
  • 7
1 2 3
99
100