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
192
votes
8 answers

Link to all Visual Studio $ variables

I was having a look at $(Configuration),$(ProjectDir) etc. in Visual Studio 2008 for Prebuild events. Is there a link to all of these variables with a definition for each one of them?
chugh97
  • 9,602
  • 25
  • 89
  • 136
189
votes
11 answers

Where can I find WcfTestClient.exe (part of Visual Studio)

The MSDN docs state that I can find the WCF Test Client in: C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ but it seems like a lot of stuff is missing from there, including WcfTestClient.exe. What do I need to install?
eran otzap
  • 12,293
  • 20
  • 84
  • 139
182
votes
5 answers

How can I generate UUID in C#

I am creating an .idl file programmatically. How do I create UUIDs for the interfaces and Methods Programmatically. Can I generate the UUID programmatically?
Uma Shankar Subramani
  • 1,925
  • 2
  • 12
  • 12
177
votes
6 answers

download and install visual studio 2008

Ok, this may be the dumbest question ever, but I swear I searched for the answer and don't know what to do. I need to install Visual Studio 2008. The free version. I need it in order to compile something. Microsoft has a download page…
user984003
  • 28,050
  • 64
  • 189
  • 285
174
votes
17 answers

Turn off auto formatting in Visual Studio

I prefer my own style of code formatting as opposed to Visual Studio's default settings. I've turned off auto-formatting options in Tools→Options. In most cases, it works. However, after using any of the built-in refactorings, Visual Studio clobbers…
Maciej
  • 10,423
  • 17
  • 64
  • 97
172
votes
7 answers

Visual Studio debugger - Displaying integer values in Hex

I'm using Visual Studio 2008 and I have just noticed that the debugger is displaying integer values as Hex when I hover over variables and also in the immediate window. I guess I must have hit a shortcut key accidently or something. Anyone had this…
fizzer
  • 2,239
  • 3
  • 17
  • 21
170
votes
14 answers

Visual Studio: Is there a way to collapse all items of Solution Explorer?

I know that I can use Arrow Keys to collapse items of solution explorer one by one, but I would like to know if there is a way to collapse all items with only one operation. I want to know it because, today I have a solution with 6 projects that…
Cleiton
  • 17,663
  • 13
  • 46
  • 59
170
votes
12 answers

How to debug a referenced dll (having pdb)

I have two solutions in my workspace, say A and B. Solution A is an older project which I finished coding some time ago. In solution B, I need to use some classes from Solution A. To do so, I add a reference to the dll of one of the projects in…
Elad
  • 19,079
  • 18
  • 62
  • 71
166
votes
7 answers

Mercurial .hgignore for Visual Studio 2008 projects

What is a good setup for .hgignore file when working with Visual Studio 2008? I mostly develop on my own, only occasionly I clone the repository for somebody else to work on it. I'm thinking about obj folders, .suo, .sln, .user files etc.. Can they…
Johannes
  • 3,002
  • 4
  • 33
  • 36
165
votes
11 answers

Turn off Visual Studio Attach security warning when debugging IIS

When using Visual Studio 2008 or 2010, every time you attach to IIS w3wp.exe you get the Attach Security Warning: How do you turn this of? It would be cool to know also, how to keep it attached for longer, as this seems to time out after a…
roundcrisis
  • 17,276
  • 14
  • 60
  • 92
161
votes
20 answers

Visual Studio window which shows list of methods

In Visual Studio, is there a window which shows list of methods in the active class? A small window like the Solution Explorer would be great. In Eclipse, there is one.
Jack Kada
  • 24,474
  • 29
  • 82
  • 106
159
votes
18 answers

The project file has been moved renamed or is not on your computer

I get this error when I try to load a VS 2008 project from TFS source control: The project file has been moved, renamed or is not on your computer After I click OK the project says "unavailable". What is the problem? How do I resolve this? I never…
sineas
  • 1,591
  • 2
  • 10
  • 3
158
votes
9 answers

How do I compile a Visual Studio project from the command-line?

I'm scripting the checkout, build, distribution, test, and commit cycle for a large C++ solution that is using Monotone, CMake, Visual Studio Express 2008, and custom tests. All of the other parts seem pretty straight-forward, but I don't see how…
John Mulder
  • 9,765
  • 7
  • 33
  • 37
157
votes
7 answers

Why do I get the error "Unsafe code may only appear if compiling with /unsafe"?

Why do I get the following error? Unsafe code may only appear if compiling with /unsafe"? I work in C# and Visual Studio 2008 for programming on Windows CE.
Gold
  • 60,526
  • 100
  • 215
  • 315
156
votes
12 answers

How to have comments in IntelliSense for function in Visual Studio?

In Visual Studio and C#, when using a built in function such as ToString(), IntelliSense shows a yellow box explaining what it does. How can I have that for functions and properties I write?
Ali
  • 5,286
  • 9
  • 33
  • 36