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
2 answers

Should I check the dotnet-tools .config directory into source control?

Recently I've noticed a .config directory being created by Visual Studio with a dotnet-tools.json file in. Should this be .gitignored or checked into source control?
Jez
  • 27,951
  • 32
  • 136
  • 233
46
votes
3 answers

How to stop the localized Microsoft.CodeAnalysis.*.resources.dll files from getting published by ASP.NET Core?

When I publish an ASP.NET Core 3.0 project, I get a few localized folders where the 4 assemblies shown are in each of these folders. I am not sure why these folders and files get included. None of my packages reference a CodeAnalysis package. I…
Tony_Henrich
  • 42,411
  • 75
  • 239
  • 374
46
votes
8 answers

How would you sprinkle-in ASP.Net MVC into an existing Web Site Project?

I have a legacy (haha) ASP.Net Webforms Web Site Project in Visual Studio 2008 SP1, that I would like to gradually introduce some MVC functionality into. Most of the information I can locate on how to integrate ASP.Net MVC with WebForms seems to…
Kris
  • 6,058
  • 2
  • 19
  • 16
46
votes
7 answers

Unable to start debugging : The value of miDebuggerPath is invalid

I recently started working on vscode. I wanted to debug my C code. But the moment I am launching the debugger getting Error : Unable to start debugging. The value of miDebuggerPath is invalid. I have my gdb installed on wsl . It's path is…
46
votes
2 answers

in Visual Studio 2010 or 2008

I want to use #include in my code but this error happens: Cannot open include file: 'dirent.h': No such file or directory How can I solve this problem?
amiref
  • 3,181
  • 7
  • 38
  • 62
46
votes
3 answers

Is it possible to use git stash command from Visual Studio

I'm using Visual Studio 2017's Team Explorer to work with a git repository. Every time I'm uses the git stash or git stash pop, I need to open the Git Bash console and navigate to my project folder and run the commands. Is there any way to stash…
Shahar Shokrani
  • 7,598
  • 9
  • 48
  • 91
46
votes
4 answers

Get correct indentation in Resharper for object and array initializers

Right now resharper formats our code like this: private readonly List folders = new List { new Folder() …
Harry
46
votes
5 answers

C# 7.1 can't be published

I have ASP.NET Core C# web application. I made some changes that now use C# 7.1 features. I changed project version, so it compiles and runs fine. However, when I try to publish the project, I am getting an error: Feature 'default literal' is not…
Felix
  • 9,248
  • 10
  • 57
  • 89
46
votes
7 answers

How to automatically format XAML code in Visual Studio?

Here: https://social.msdn.microsoft.com/Forums/de-DE/b77c7529-298f-4b9a-874a-f94f699986ac/automatically-formatting-xaml-code?forum=vswpfdesigner ... it is written that one can use "Ctrl+K+D" ... but that didn't work. I also tried "shift + alt + F",…
steady_progress
  • 3,311
  • 10
  • 31
  • 62
46
votes
7 answers

Develop Tampermonkey scripts in a real IDE with automatic deployment to OpenUserJs repo

I recently started development on a Tampermonkey script, which is hosted on OpenUserJs. It seems that I'm going to invest a bit more time in the future on this script by keep it up to date and extend his features when time is there. The first lines…
Lion
  • 16,606
  • 23
  • 86
  • 148
46
votes
5 answers

Ankhsvn not integrated to Visual Studio 2010

I have a website project that has been subversioned already. I have installed ankhsvn but when I open the website project in Visual Studio 2010 it doesn't show the version control icons in the Solution Explorer. Any idea why that might be? Thanks
DSharper
  • 3,177
  • 9
  • 29
  • 47
46
votes
13 answers

mt.exe : general error c101008d: Failed to write the updated manifest to the resource of file ... Access is denied

I often have this problem even when I build a new C++ project and try to build a release file. I use Visual studio 2008. One thing that may cause this problem is my code is saved on the server disk, not on local hard disk. mt.exe : general error…
Jackie
  • 1,071
  • 2
  • 12
  • 17
46
votes
4 answers

Use keyboard shortcuts from IntelliJ in Visual Studio

I would like to know if it´s possible to import keymap from IntelliJ or PHPStorm to Visual Studio. I´m used to working with IntelliJ IDE´s. Now I´m starting to develop some apps in .NET and it´s kinda hard to get used to the new key schemes.
Libor Váchal
  • 563
  • 1
  • 4
  • 6
46
votes
5 answers

Deleting tabs when using tabs as spaces

I know that the general tabs vs spaces thing is as old as the hills and mostly comes down to personal preference/sticking to the style of your team, I just wanted to ask a practical question about using spaces in Visual Studio. There are certain…
identitycrisisuk
  • 906
  • 1
  • 9
  • 15
46
votes
7 answers

How can I see the C/C++ #include graph easily?

I'm looking for a tool (preferably, a Visual Studio plugin) that would display all files included by a given file and show all files included by those files and so on.
CannibalSmith
  • 4,742
  • 10
  • 44
  • 52