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
45
votes
4 answers

Visual Studio - Prevent F11 from starting the debugger?

Is there a way to prevent Visual studio to start the debugger when pressing F11? I often press it by mistake when I want to actually press F12. I do not want to loose the functionality of Step-into which F11 provides but it is annoying when it…
Dalibor Čarapić
  • 2,792
  • 23
  • 38
45
votes
2 answers

How do I change my development environment to a different language in Visual Studio?

When I first installed Visual Studio, I chose to customize my environment for "Visual C++" development. Now, I am working primarily in C# and want to change this setting to a C# environment. How can I change the environment settings from one…
dban10
45
votes
10 answers

Toggle "Break when an exception is thrown." using macro or keyboard shortcut

Edit: Visual Studio 2015's new exception window is so much faster than the old dialog that I no longer care as much about using a keyboard shortcut for it. Is there a macro or keyboard shortcut that will toggle "break when an exception is…
dss539
  • 6,804
  • 2
  • 34
  • 64
45
votes
8 answers

Error "fatal error C1034: windows.h: no include path set"

OS Windows Vista Ultimate I am trying to run a program called minimal.c. When I type at the command line: C:\Users\nathan\Desktop>cl minimal.c Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.762 for 80x86 Copyright (C) Microsoft…
nathan
45
votes
4 answers

Getting the path of the current assembly

How do I get the path of the current assembly? I need to get data from some paths relative to the location of hte current assembly (.dll). I thought someone told me to use the reflection namespace but I can't find anything in there.
DenaliHardtail
  • 27,362
  • 56
  • 154
  • 233
45
votes
10 answers

How do you clear your MRU list in Visual Studio?

I want to clear the list of projects on the start page...how do I do this? I know I can track it down in the registry, but is there an approved route to go?
Gordon Mackie JoanMiro
  • 3,499
  • 3
  • 34
  • 42
45
votes
5 answers

How to unit test abstract classes

Used the create unit tests tool in Visual Studio and obviously it tries to instantiate my abstract classes. My question is: Should I try to unit test the way Visual Studio is trying to get me to do it, or should I create a mock class to be…
ediblecode
  • 11,701
  • 19
  • 68
  • 116
45
votes
4 answers

What is the difference between Call Stack and Stack Trace?

What is the difference between the terms "Call Stack" and "Stack Trace" ?
pencilCake
  • 51,323
  • 85
  • 226
  • 363
45
votes
11 answers

SDK Resolver Failure - Net 7 - Net 6

Just downloaded and installed SDK Net 7.0.100 and it broke existing applications and they won't load any more in VS 2022 or Rider. Copied the follwing error: error : SDK Resolver Failure: "The SDK resolver "Microsoft.DotNet.MSBuildSdkResolver"…
David
  • 583
  • 1
  • 4
  • 6
45
votes
2 answers

Template instantiation details of GCC and MS compilers

Could anyone provide a comparison or specific details of how is template instantiation handled at compile and/or link time in GCC and MS compilers? Is this process different in the context of static libraries, shared libraries and executables? I…
celavek
  • 5,575
  • 6
  • 41
  • 69
45
votes
4 answers

warning C4003: not enough actual parameters for macro 'max' - Visual Studio 2010 C++

I have the following warnings while compiling an openFrameworks 007 project on Visual Studio 2010 SP1: d:\pedro\development\videoflow\openframeworks\libs\openframeworks\types\ofcolor.h(127): warning C4003: not enough actual parameters for macro…
petersaints
  • 1,899
  • 3
  • 18
  • 25
45
votes
3 answers

Syntax error at: OPTIMIZE_FOR_SEQUENTIAL_KEY

I created a table in Microsoft SQL Server Management Studio and the table worked fine, no errors while building. Then i was copying the script to my project in visual studio when the following message showed: SQL80001: Incorrect syntax ner…
riki481
  • 606
  • 1
  • 5
  • 12
45
votes
4 answers

What's the purpose of this string in my Visual Studio *.sln file?

I am using a text editor to manually edit my *.sln file. I am confused about the following lines: Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test2008", "Tools\Test2008\Test2008\Test2008.csproj", "{00B5EBB2-FDA5-4B23-BDC5-27E9F82E7C69}" …
smwikipedia
  • 61,609
  • 92
  • 309
  • 482
45
votes
5 answers

How can I use C# 8 with Visual Studio 2017?

I'd like to use C# 8.0 (especially ranges and non-nullable reference types) in Visual Studio 2017. Is it possible?
nonsensation
  • 3,627
  • 6
  • 28
  • 41
45
votes
12 answers

--fix doesn't fix the errors using eslint

I'm using eslint in visual code to format the js files but it gives me errors everytime i run it, here's my command line to run it node ./node_modules/eslint/bin/eslint -- src --fix the error message E:\PATH\src\reducers\roote-reducer.js 1:8 …
gretty volk
  • 591
  • 1
  • 4
  • 10