Questions tagged [visual-studio-2008]

This tag refers to the Visual Studio line of software development products from Microsoft, the 2008 version. Do not use this tag unless you have a specific question about Visual Studio -- not just a coding issue. Questions should be specific to the 2008 version of Visual Studio.

Microsoft Visual Studio 2008 is an integrated development environment (IDE) from Microsoft. It is used to develop console and graphical user interface applications along with Windows Forms applications, web sites, web applications, and web services in both native code together with managed code for all platforms supported by Microsoft Windows, Windows Mobile, Windows CE, .NET Framework, .NET Compact Framework and Microsoft Silverlight.

Visual Studio does not support any programming language, solution or tool intrinsically, instead allows the plugging of functionality coded as a VSPackage.

More information:

15670 questions
126
votes
7 answers

class name and method name dropdown list is missing (visual studio setting)

Does anyone know how to get my class name and method name dropdown lists again? It's the dropdown lists that are usually above the code. It's just a setting but i can't seem to find it. I don't want to reset my setting btw. I shouldn't have to.
124
votes
10 answers

Visual Studio appears to randomly adopt American keyboard layout

Gah! This is really causing me hassle today. Suddenly without warning '@' (at symbol) and '"' (double quote) are trading places on my keyboard but ONLY in Visual Studio 2008! I can't seem to find anything in help or online to explain/remedy this.…
hollystyles
  • 4,979
  • 2
  • 36
  • 38
121
votes
8 answers

Visual Studio immediate window command for Clear All

Is there a command to clear the immediate window in Visual Studio? I hate having to grab the mouse for a right click menu there - would rather just type "cls" or something.
Scott Ivey
  • 40,768
  • 21
  • 80
  • 118
120
votes
19 answers

How do I run NUnit in debug mode from Visual Studio?

I've recently been building a test framework for a bit of C# I've been working on. I have NUnit set up and a new project within my workspace to test the component. All works well if I load up my unit tests from Nunit (v2.4), but I've got to the…
Jon Cage
  • 36,366
  • 38
  • 137
  • 215
120
votes
5 answers

64-bit version of Boost for 64-bit windows

Is there a version of 64-bit Boost library for VS2008 ? Or do I have to compile one myself? if, so, does anyone have experience with it?
ra170
  • 3,643
  • 7
  • 38
  • 52
120
votes
18 answers

Git in Visual Studio - add existing project?

I'm trying to put an existing project under Git source control, but I'm unclear on several things. I have set up a 'Team Foundation Service' Git account online. I currently have an ASP.NET MVC 4 solution - in my Projects folder. I have created a Git…
niico
  • 11,206
  • 23
  • 78
  • 161
120
votes
3 answers

How to declare a friend assembly?

I have 2 projects in my solution: Assembly (Basic Library) Test Assembly (NUnit) I had declared the test assembly as friends assembly in first project: [assembly: InternalsVisibleTo ("Company.Product.Tests")] Everything was working fine till I…
Hemant
  • 19,486
  • 24
  • 91
  • 127
119
votes
3 answers

Is " " a replacement of " "?

In my ASP.NET application, I was trying to add few white spaces between two text boxes by typing space bar. The equivalent HTML source was   instead of  . So I just wanted to check: is this the new replacement for white space? If yes, any…
Anto Varghese
  • 3,131
  • 6
  • 31
  • 38
118
votes
15 answers

Should a .sln be committed to source control?

Is it a best practice to commit a .sln file to source control? When is it appropriate or inappropriate to do so? Update There were several good points made in the answers. Thanks for the responses!
116
votes
11 answers

How to check the OS version at runtime, e.g. on Windows or Linux, without using a conditional compilation statement

How do I determine what platform my C# code is running on? for example whether it is running on Linux or windows so that I can execute different code at runtime. I have a C# Windows application that I want to build to target Windows and Linux…
Bobbo
  • 1,593
  • 4
  • 13
  • 13
116
votes
20 answers

Post Build exited with code 1

I have a project with a post build event: copy $(ProjectDir)DbVerse\Lunaverse.DbVerse.*.exe $(TargetDir) It works fine every time on my machine. I have a new developer who always gets the "exited with code 1" error. I had her run the same…
Tim Scott
  • 15,106
  • 9
  • 65
  • 79
115
votes
4 answers

HTTPS with Visual Studio's built-in ASP.NET Development Server

Is there a way to access Visual Studio's built-in ASP.NET Development Server over HTTPS?
Shawn Miller
  • 7,082
  • 6
  • 46
  • 54
115
votes
5 answers

Uninstall ReSharper 4.5

I have ReSharper 4.5 in Visual Studio 2008. Now I want to install ReSharper 5, but I can't do it before I uninstall ReSharper 4.5. How can I uninstall ReSharper 4.5?
115
votes
38 answers

Edit and Continue: "Changes are not allowed when..."

Even if I create a clean WinForms project, Edit and Continue doesn't work and gives me the error: Changes are not allowed when the debugger has been attached to an already running process or the code being debugged was optimized at build or run…
nightcoder
  • 13,149
  • 16
  • 64
  • 72
114
votes
14 answers

How can I automate the "generate scripts" task in SQL Server Management Studio 2008?

I'd like to automate the script generation in SQL Server Management Studio 2008. Right now what I do is : Right click on my database, Tasks, "Generate Scripts..." manually select all the export options I need, and hit select all on the "select…
Brann
  • 31,689
  • 32
  • 113
  • 162