Visual Studio is an integrated development environment (IDE) from Microsoft. It supports many different programming languages.

learn more… | top users | synonyms (3)

813
votes
13answers
241k views

Using Git with Visual Studio

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 ...
410
votes
17answers
64k views

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

When I start a new ASP.NET project in Visual Studio i can create a ASP.NET Web Application and new ASP.NET websites in Visual Studio creates new Website. What's the difference between these two ...
295
votes
15answers
51k 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. Does anyone know ...
294
votes
39answers
52k views

Visual Studio 2010 - recommended extensions [closed]

What are your recommended extensions for Visual Studio 2010? (Please indicate if its free or not And also its purpose / function too) Free: PowerCommands - useful extensions for the Visual Studio ...
293
votes
124answers
32k views

Favorite Visual Studio keyboard shortcuts [closed]

What is your favorite Visual Studio keyboard shortcut? I'm always up for leaving my hands on the keyboard and away from the mouse! One per answer please.
227
votes
8answers
69k views

Visual Studio - Command to collapse all sections of code?

In Visual Studio (2008) there a command to collapse/expand all the sections of code in a file?
226
votes
20answers
100k 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?
194
votes
7answers
62k views

How to run Visual Studio post-build events for debug build only

How can I limit my post-build events to running only for one type of build? I'm using the events to copy DLLs to a local IIS virtual directory but I don't want this happening on the build server in ...
183
votes
6answers
46k 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 ...
181
votes
6answers
73k views

What are the various “Build action” settings in VS.NET 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 your solution explorer. There are a number of ...
153
votes
8answers
32k views

Adding a guideline to the editor in Visual Studio

Introduction I've always been searching for a way to make Visual Studio draw a line after a certain amount of characters: Below is a guide to enable these so called guidelines for various versions ...
148
votes
5answers
36k views

Difference between Math.Floor() and Math.Truncate() in .NET

What is the difference between Math.Floor() and Math.Truncate() in .NET?
146
votes
3answers
96k views

Debugging with command-line parameters in Visual Studio

I'm developing a C++ command-line application in Visual Studio and need to debug it with command-line arguments. At the moment I just run the generated EXE file with the arguments I need (like this ...
139
votes
12answers
78k views

Visual Studio opens the default browser instead of Internet Explorer

When I debug in Visual Studio, Firefox opens and that is annoying because of the hookups that Internet Explorer and Visual Studio have, such as when you close the Internet Explorer browser that ...
139
votes
13answers
60k views

How do I rename a Project Folder from within Visual Studio?

My current solution for renaming the project folder is: Remove the project from the solution. Rename the folder outside Visual Studio. Re-add the project to the solution. Is there a better way?

1 2 3 4 5 1858
15 30 50 per page