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

How to build some project configurations with msbuild

The gtest's msvc directory has the gtest project file, and opening it with Visual Studio enables me to select the build out of 8 configurations(gtest/gtest_main/gtest_prod_test/gtest_unittest x release/debug) with Batch Build. How can I do the same…
prosseek
  • 182,215
  • 215
  • 566
  • 871
43
votes
5 answers

How to convert a Class Library project to a Web Application project?

Long story short, because of some issues with architecture and the fact that someone already put a few .aspx files in a class library, I'd like to just finish off the change and convert a class library to a web application. This is using Visual…
43
votes
1 answer

Setting custom in .NET Core (stop adding framework target)?

In traditional .NET applications, it was possible to set a custom of an assembly in the .csproj file (or via the project properties dialog). A path of e.g. bin\$(Configuration)\$(Platform) resulted in bin\Debug\AnyCPU. I had the habit…
maelgrove
  • 939
  • 3
  • 9
  • 18
43
votes
6 answers

Use Ctrl+Click to Select Word in VS Code

In Visual Studio, if you hold CTRL and click on word, it selects the entire word. If you drag, it selects text word-by-word. I find this feature of Visual Studio very useful when I'm copy pasting small bits of code, since I can just keep holding…
Zeenobit
  • 4,954
  • 3
  • 34
  • 46
43
votes
3 answers

How do I add features to Visual Studio 2017?

Let's say that when I installed Visual Studio 2017 I decided to use the "Windows Universal Platform" packages. Later, I realize that I'd like to install the ".Net Desktop packages" (either instead, or in addition). How can I go back and add those…
MikeTheTall
  • 3,214
  • 4
  • 31
  • 40
43
votes
4 answers

Visual Studio : can't find "resource file" in list of items to add to project

I'm on VS Community 2017 RC. I'd like to add a resource file (.resx) to my project but this item type is not listed in the items Have I missed something ? Do I need to install anything on top of my Visual Studio to be able to manage resource files ?
bob
  • 774
  • 1
  • 7
  • 16
43
votes
4 answers

How to open an .rdl file in Visual Studio?

I have an .rdl file that I need to open in Visual Studio. When I try to open this file, I got an XML file. However, I am unable to see the designer format. I don't know which version of Visual Studio is used to create this .rdl file. Is it possible…
Anupa Sankar
  • 491
  • 2
  • 7
  • 17
43
votes
8 answers

_iterator_debug_level value '0' doesn't match value '2'

I've just moved over a Visual Studio (C++) solution over to another computer, setup all the directories and settings as far as I can see, and did a clean/rebuild on the solution. I get the error above on a bunch of .obj's on compile, not sure what…
meds
  • 21,699
  • 37
  • 163
  • 314
43
votes
8 answers

Good Way to Debug Visual Studio Designer Errors

Is there a good way to debug errors in the Visual Studio Designer? In our project we have tons of UserControls and many complex forms. For the complex ones, the Designer often throws various exceptions which doesn't help much, and I was wondering if…
Daisuke Shimamoto
  • 5,206
  • 6
  • 32
  • 37
43
votes
8 answers

Need .NET code to execute only when in debug configuration

I have some code that access an API out on the web. One of the API's parameters allows me to let them know that I am testing. I would like to only set this parameter in my code when I am testing. Currently, I just comment the code out when I do a…
Ronnie Overby
  • 45,287
  • 73
  • 267
  • 346
43
votes
11 answers

Debugging a foreach loop in C#: what iteration is this?

Other than setting a debug variable and incrementing it every time you start the foreach, when you break in with the Visual Studio debugger connected, is there a way to tell that this is the Xth time through the loop? I guess this would be a…
Matt
  • 25,943
  • 66
  • 198
  • 303
43
votes
3 answers

How to keep VS2015 NuGet from adding packages to TFS

VS2013 had a bug where NuGet would add packages as pending changes, even if you told it not to with .tfignore. There was a workaround, but it doesn't work with VS2015/NuGet3, and NuGet is back to its old tricks. Is there a "Nu" workaround?…
Edward Brey
  • 40,302
  • 20
  • 199
  • 253
43
votes
4 answers

How to compile C++ for Windows with clang in Visual Studio 2015

As far as I understand, Visual Studio 2015 is shipped with clang. First I though this was only for Android and iOS apps, but according to this article it should also be possible to use the clang++ frontend for Windows programs. However, I can't find…
MikeMB
  • 20,029
  • 9
  • 57
  • 102
43
votes
6 answers

Forcing the Solution Explorer to select the file in the editor in visual studio 2005

In Visual Studio 2005, whenever I would view a file in the main editor, the Solution Explorer would find and highlight that file. Some time ago, this stopped working and the Solution Explorer would do nothing. This has become quite a pain since…
Jeffrey
  • 1,837
  • 5
  • 25
  • 40
43
votes
5 answers

IntelliJ Shift Shift Shortcut in Visual Studio (Global Search)

After doing some Java I fell in love with some of IntelliJ's features. Especially the keyboard shortcut SHIFT +SHIFT which lets you jump to any other file. This is a huge time savesaver. Now that I'm back in VS I really miss that feature when I'm…
AlexVPerl
  • 7,652
  • 8
  • 51
  • 83