Questions tagged [visual-studio]

Use this tag if you have a specific question about Visual Studio features and functionality. DO NOT use this tag on questions regarding code which merely happened to be written in Visual Studio. Consider tagging the exact technology area your question links to and also tagging a more specific version of Visual Studio. Please mention your exact VS version, edition, and update level in your question. DO NOT use this tag on questions regarding VS Code.

Visual Studio is an integrated development environment (IDE) offered by Microsoft used to develop computer programs for Microsoft Windows, as well as web sites, web applications and web services.

Microsoft Visual Studio History

Prior to Visual Studio Version 4.0, there were Visual Basic 3, Visual C++, Visual FoxPro and Visual SourceSafe as separate products.

Below is the list of the products along with their release date. Note: the actual version numbers for the products are sometimes confused with the last two digits of the 'year' field of the name; these version numbers are shown as "V-nn.x.y.z," where the given "nn" value is the major version number, and 'x', 'y' and 'z' would be the minor version, build and revision numbers, respectively.

The current stable release is Visual Studio 2022 - for questions regarding this specific version use .

Visual Studio Editions

  • Professional includes end-to-end solution to meet demanding quality and scale needs of teams of all sizes
  • Enterprise featuring professional developer tools, services, and subscription benefits for small teams
  • Community is a free, fully-featured IDE for students, open-source and individual developers

See the products page on the Microsoft site for the full list of Visual Studio products and download links. Microsoft also publishes a comparison table where major differences between editions can be seen at a glance to help you decide which edition fits your needs the most.

Using This Tag

You should ask questions about Visual Studio here on Stack Overflow, but if you have bugs to report, report them at Developer community instead.

Consider tagging the exact technology area your question links to and also tagging a more specific version of Visual Studio (see above). Please mention your exact Visual Studio version, edition, and update level in your question.

Do not use this tag on questions just because the code was written in Visual Studio. For example, a question about parsing a date/time string in .NET with C# should not ordinarily be tagged .

More Information

Visual Studio Extensions (.vsix)

You can read about Visual Studio extensions here and see the available Extensions for the Visual Studio family of products.

Developer Community

Developer Community is a website where you can read about the Visual Studio release history. Also see all the reported bugs and find solutions for them. You can help the Visual Studio team and vote on the the issues (which you also have) and they can prioritise the problems and ship fixes to the most demanded ones. Also you can report a problem.

113889 questions
46
votes
5 answers

Project reference vs. DLL Reference - Which is better?

I know there are other questions regarding this subject, and I've looked at this question, but I'd like to see a little bit more discussion and information on both sides of this - is it a better practice to add a project to a solution and reference…
Zann Anderson
  • 4,767
  • 9
  • 35
  • 56
46
votes
4 answers

Visual Studio 2010 Plug-in - Adding a context-menu to the Solution Explorer

I want to add a new option in Visual Studio 2010's solution explorer's context menu for a specific file type. So for example, right clicking on a *.cs file will show the existing context menu plus "my new option". I'm wondering what the code would…
Kenn
  • 2,379
  • 2
  • 29
  • 38
46
votes
7 answers

Is it possible to change the value of a variable during execution time?

I want to know if there is any way I can change the value of a variable during execution time, using Visual Studio 2008? I know I can do this on Eclipse (put a breakpoint, add a watcher and edit whatever variable value I want) but I didn't find…
Amokrane Chentir
  • 29,907
  • 37
  • 114
  • 158
46
votes
9 answers

How to use class from other files in C# with visual studio?

I am a newbie of C# and MS visual studio, and I want to use the C# class which defined in another file, but can't get it work. Here is the program.cs(and why can't I rename that file ?) using System; namespace TestCSharp2 { class Program { …
armnotstrong
  • 8,605
  • 16
  • 65
  • 130
46
votes
3 answers

What is vshub.exe in the system tray?

I installed Visual Studio 14. Now I have a new app VsHub in the system tray / notification area. What is it? I tried clicking and right-clicking on it, it doesn't do anything.
Colonel Panic
  • 132,665
  • 89
  • 401
  • 465
46
votes
3 answers

'Newtonsoft.Json...' exists in both 'Blend\Newtonsoft.Json.dll' and 'Solution\packages\...\

I'm not able to build the solution in Visual Studio 2013. This just happened after I updated my JSON.NET package to 6.0.1. Before that, it was working like a charm. Any ideas? PS: It's probably something about OWIN. It references JSON.NET too I…
Seregwethrin
  • 1,319
  • 2
  • 13
  • 24
46
votes
9 answers

Visual Studio debugging painfully slow when loading symbols

I have an issue which is practically similar to Visual Studio debugging/loading very slow but I haven't managed to find a solution to such a problem. I have tried all what is described within that question and still, the symbol loading for the very…
Mark Cassar
  • 1,842
  • 4
  • 20
  • 27
46
votes
5 answers

Visual Studio debugging - ignore exception in one place while breaking at it elsewhere?

I have some code which generates a large quantity of ArgumentExceptions on one particular line (which is in a different developer's code, so I can't just change it), which are then caught and handled appropriately. I'm trying to debug…
Kastaka
  • 577
  • 1
  • 4
  • 9
46
votes
4 answers

How to Restore Navigate To Dialog in Visual Studio After Resharper Installation

After installing Resharper 7.1.2 for Visual Studio 2010, when I press Ctrl+, I no longer see the Navigate To dialog. Instead a Resharper dialog Recent Files appears. My question is, is there another key binding that I am not aware for the Navigate…
marteljn
  • 6,446
  • 3
  • 30
  • 43
46
votes
1 answer

Is it possible to remote debug a VirtualBox with visual studio?

I'm running different versions of our application on Sun's open source VirtualBox, is it possible to remote debug the app from the host OS with Visual Studio? The problem is that in Visual Studio when I want to attach to a remote machine I have to…
Motti
  • 110,860
  • 49
  • 189
  • 262
46
votes
5 answers

How to change a Visual Studio project type?

I finally figured out that Visual Studio keeps track of how you create a project (in other words which project template you select initially) and filters your options later based on that initial decision. The information is kept in the *.csproj file…
Scott Bussinger
  • 2,767
  • 4
  • 28
  • 29
46
votes
4 answers

Can't Update or Uninstall NuGet Package Manager in VS2012

I am unable to update or uninstall the NuGet Package Manager for Visual Studio 2012. I've looked around to several solutions, but have not found one that works. Running Visual Studio 2012 as the administrator... Attempting to update the NuGet…
Nicholas Pappas
  • 10,439
  • 12
  • 54
  • 87
46
votes
3 answers

How to surround code blocks with try/catch in VisualStudio 2010

I know that Visual Studio has some tools for fast surrounding by code snippets, for example how to do more faster try/catch code blocks. but I can't find a hotkey combination to do this. Who knows the hotkey combination for try/catch?
asolovyov
  • 903
  • 1
  • 10
  • 21
46
votes
1 answer

Clone TFS build definition in Visual Studio 2012/2013/2015?

Steps in In Visual Studio 2010 Open Team Explorer Go to Builds Right-click on a build definition, and click Clone. How can I copy/clone a build in Visual Studio 2012? The Clone operation seems to be gone? Note: I am using TFS 2010
Bernard Vander Beken
  • 4,848
  • 5
  • 54
  • 76
46
votes
10 answers

NuGet.exe pack gives access to the path is denied

When I try to pack my MVC project (NuGet.exe pack) I get: NuGet.exe : Access to the path '...' is denied. This happens to be the case for all files in the content and script folder of my MVC solution. If I remove the readonly flag on all these…
knut
  • 4,699
  • 4
  • 33
  • 43