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 ...

2023
votes
9answers
283k views

What are the correct version numbers for C#?

What are the correct version numbers for C#? What came out when? Why can't I find any answers about C# 3.5?This question is primarily to aid those who are searching for an answer using an incorrect ...
1407
votes
18answers
573k views

Visual Studio - Command to collapse all sections of code?

In Visual Studio (2008) is there a command to collapse/expand all the sections of code in a file?
1400
votes
16answers
452k views

Using Git with Visual Studio [closed]

As a long-time Visual SourceSafe user (and hater) I was discussing switching to SVN with a colleague; he suggested using Git instead. Since, apparently, it can be used as peer-to-peer without a ...
1102
votes
82answers
884k views

How do I remedy the “The breakpoint will not currently be hit. No symbols have been loaded for this document.” warning?

C# desktop application on express edition. Worked then didn't work 5 seconds later.I tried the following.Ensure debug configuration, debug flag, and full debug info are set on all assemblies....
1023
votes
17answers
280k views

.gitignore for Visual Studio Projects and Solutions

Which files should I include in .gitignore when using Git in conjunction with Visual Studio Solutions (.sln) and Projects?
1007
votes
24answers
282k views

Error message “No exports were found that match the constraint contract name”

This morning I faced a problem while opening my Visual Studio solution, and when I tried to run it, it said:No exports were found that match the constraint contract nameHow can I fix this ...
896
votes
12answers
204k views

Can you force Visual Studio to always run as an Administrator in Windows 8?

In Windows 7, you could go into a programs compatibility settings and check off to always run as an Administrator. Is there a similar option in Windows 8? I've always disabled UAC on my machines, ...
887
votes
10answers
249k views

Difference between Build Solution, Rebuild Solution, and Clean Solution in Visual Studio?

What is the difference between Build Solution, Rebuild Solution, and Clean Solution in Visual Studio?When is the appropriate time to use each one of these?
773
votes
25answers
203k views

ASP.NET Web Site or ASP.NET Web Application?

When I start a new ASP.NET project in Visual Studio, I can create an ASP.NET Web Application or I can create an ASP.NET Web Site.What is the difference between ASP.NET Web Application and ASP.NET ...
760
votes
16answers
169k views

Should I add the Visual Studio .suo and .user files to source control?

Visual Studio solutions contain two types of hidden user files. One is the solution .suo file which is a binary file. The other is the project .user file which is a text file. Exactly what data do ...
734
votes
7answers
280k views

What are the various “Build action” settings in Visual Studio project properties and what do they do?

For the most part, you just take whatever Visual Studio sets it for you as a default... I'm referring to the BuildAction property for each file selected in Solution Explorer. There are a number of ...
701
votes
16answers
220k views

How to “Add Existing Item” an entire directory structure in Visual Studio?

I feel ridiculous for asking this because it seems like it should be so simple, however I have been unable to discover an answer to this question.I have a free standing set of files not affiliated ...
653
votes
25answers
335k views

How do you count the lines of code in a Visual Studio solution?

Is it possible to find the number of lines of code in an entire solution? I've heard of MZ-Tools, but is there an open source equivalent?
587
votes
10answers
259k views

How do I add an existing directory tree to a project in Visual Studio?

The issue is simple really. Instead of creating folders in Visual Studio, I create a directory structure for my project on the file system. How do I include all the folders and files in a project, ...
581
votes
20answers
802k views

How do you auto format code in Visual Studio?

I know Visual Studio can auto format to make my methods and loops indented properly, but I cannot find the setting.

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,