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

Microsoft Visual Studio ~ C/C++ Runtime Library ~ Static/dynamic linking

I am a Microsoft Visual Studio user. My question is about the "C/C++ Runtime Library". I created an "Empty Project" with a ".cpp" source file "main.cpp" containing the following code: #include int main(void) { std::cout << "Hello…
Léa Massiot
  • 1,928
  • 6
  • 25
  • 43
49
votes
2 answers

Get Project or Relative Directory with T4

How can I get a reference to the directory of the visual studio project or solution or the directory of the t4 template from within a t4 template? I have a template that concatenates a number of files together which are located relative to the…
Blake Taylor
  • 9,217
  • 5
  • 38
  • 41
49
votes
11 answers

How to reset to default button BackColor?

I was experimenting with different options for the button background color and ended up changing the BackColor property in the Appearance category. I then changed it back to what it is by default which is Control, but it still looks different from…
Dennis Zaitsev
  • 795
  • 2
  • 6
  • 8
49
votes
6 answers

Selecting which project under a solution to debug or run in Visual Studio 2010

This one should be easy. I just can't figure out what to search for... For this one solution I created a unit test project, and I've been adding unit tests frantically. When I went back to try to run the original project after making all the unit…
Parris
  • 17,833
  • 17
  • 90
  • 133
48
votes
3 answers

Copy target file to another location in a post build step in CMake

I have a dynamic library that gets a different name depending on configuration, specified in the CMake scripts by: set_target_properties(${name} PROPERTIES OUTPUT_NAME ${outputName}64) set_target_properties(${name} PROPERTIES DEBUG_OUTPUT_NAME…
villintehaspam
  • 8,540
  • 6
  • 45
  • 76
48
votes
3 answers

Getting debugger context in C# interactive

C# Interactive seems a lot more powerful than the Immediate Window (at least it handles lambda expressions that are often used in LINQ - see Visual Studio debugging "quick watch" tool and lambda expressions), but it looks like it can't be used as a…
user276648
  • 6,018
  • 6
  • 60
  • 86
48
votes
4 answers

Disable Shift+Delete Cutting in Visual Studio

I type fast. Often times when programming I will select a line with Shift+End and then press the delete key, but I do this so quickly that my finger hasn't come off of the shift key. This results in replacing clipboard item with what was…
Ronnie Overby
  • 45,287
  • 73
  • 267
  • 346
48
votes
16 answers

The referenced component 'System' could not be found. (or any other component for that matter)

Issue: Just started today, all references to any assembly outside of the solution fail to resolve, with The referenced component 'SomeComponent' could not be found. when trying to build. This happens for both 3rd party components (all 15 or so of…
Davy8
  • 30,868
  • 25
  • 115
  • 173
48
votes
11 answers

Visual Studio and dual/multiple monitors: how do I get optimized use out of my monitors?

Ultramon is a great program for dual monitors (stretching screen across monitors), but I was wondering if there is any way do to something in Visual Studio like have one tab of code open on one monitor and a second tab of code open on the second…
Bryan Denny
  • 27,363
  • 32
  • 109
  • 125
48
votes
3 answers

How can the Wcf Test Client be used without Visual Studio?

When WcfTestClient.exe is copied to another machine by itself, runtime errors prevent you from connecting to a WCF service, for example: System.IO.FileNotFoundException: Could not load file or Assembly 'Microsoft.Build.Utilities.Core,…
Dnana
  • 627
  • 2
  • 6
  • 8
48
votes
7 answers

How do you create a foreign key relationship in a SQL Server CE (Compact Edition) Database?

Visual Studio 2005 doesn't provide an interface for creating relationships between tables in a SQL Server CE database (I'm using version 3.0) and you can't open a Compact Edition DB using Management Studio as far as I know. Any ideas?
Ryan Shripat
  • 5,574
  • 6
  • 49
  • 77
48
votes
10 answers

Attempting push on git and receiving "could not read Username for 'https://github.com': terminal prompts disabled"

I'm using Visual Studio, and the GitHub Extension. I am able to sign in, then clone my team's repository, and then pull changes successfully. When it comes time to push my changes back to remote, I get a blank command prompt appear on the screen…
Matt
  • 1,412
  • 3
  • 15
  • 18
48
votes
9 answers

Cannot compile solution in VS due "Attempted to access an unloaded AppDomain" -- how to pin it down?

I have a C#/ASP.Net solution in VS (2008) with several projects within it. When I try to compile it I get one error only: Attempted to access an unloaded AppDomain No line code, no project name, nothing. Just such error. How can I pin down this…
greenoldman
  • 16,895
  • 26
  • 119
  • 185
48
votes
10 answers

XML comments file could not be found - Swagger

This is certainly one of those that drives you nuts. As the title indicates all I'm simply trying to do is display comments pulled from an xml file using swagger. I appear to have taken all steps according to the swagger documentation but to no…
Tez Wingfield
  • 2,129
  • 5
  • 26
  • 46
48
votes
8 answers

How do I disable all Roslyn Code Analyzers?

I'm trying to work with a large opensource project that has a handful of Roslyn Code Analyzers. When I open the solution Visual Studio uses ~35% CPU for about 15 minutes. Using PerfView I've figured out that the code analyzers being run on the…
JoshVarty
  • 9,066
  • 4
  • 52
  • 80