Top "Visual-studio" questions

Use this tag if you have a specific question about Visual Studio features and functionality.

Is there a format code shortcut for Visual Studio?

In Eclipse there is a shortcut, Ctrl+Shift+F, that re-indents code and fixes comments and blank lines. Is there …

c# visual-studio-2010 visual-studio visual-studio-2012 visual-studio-2013
Unresolved external symbol in object files

During coding in Visual Studio I got an unresolved external symbol error and I've got no idea what to do. …

c++ visual-studio visual-c++ unresolved-external
The name 'ConfigurationManager' does not exist in the current context

I am trying to access connectionStrings from the config file. The code is ASP.NET + C#. I have added System.…

c# .net visual-studio visual-studio-2008
Type or namespace name does not exist

I have a WCF Data Service project built with Visual Studio 2010, which was working fine. All of a sudden, it …

c# .net visual-studio-2010 visual-studio
How can 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 …

visual-studio directory projects-and-solutions
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 …

visual-studio git
Preventing console window from closing on Visual Studio C/C++ Console application

This is a probably an embarasing question as no doubt the answer is blindingly obvious. I've used Visual Studio for …

c visual-studio console
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 …

visual-studio code-metrics lines-of-code line-count
How can we generate getters and setters in Visual Studio?

By "generate", I mean auto-generation of the code necessary for a particular selected (set of) variable(s). But any more …

c# visual-studio setter getter
What is "stdafx.h" used for in Visual Studio?

A file named stdafx.h is automatically generated when I start a project in Visual Studio 2010. I need to make …

visual-studio visual-studio-2010 visual-c++ cross-platform stdafx.h