Questions tagged [visual-studio-2005]

Visual Studio 2005 is a version of Microsoft's Visual Studio integrated development environment product line for .NET-based and C++ development. Do not use this tag unless you have a specific question about Visual Studio -- not just a coding issue.

Visual Studio 2005 has been superseded by the 2008, 2010, 2013 and 2015 versions at this time.

More information:

3144 questions
100
votes
10 answers

Configure Visual Studio to use UNIX line endings

We would like to use Visual Studio 2005 to work on a local copy of an SVN repository. This local copy has been checked out by Mac OS X (and updates and commits will only be made under Mac OS X, so no problem there), and as a consequence the line…
moala
  • 5,094
  • 9
  • 45
  • 66
98
votes
8 answers

Attach Debugger to IIS instance

I have IIS 5.1 on a XP machine, and visual studio 2005. How do I go about attaching my debugger to IIS instance. BTW: I'm not seeing the IIS process within the running processes or probably I don't know what to look for .
Mihai Lazar
  • 2,249
  • 2
  • 19
  • 27
87
votes
7 answers

Export all symbols when creating a DLL

With VS2005, I want to create a DLL and automatically export all symbols without adding __declspec(dllexport) everywhere, and without hand-creating .def files. Is there a way to do this?
Jazz
  • 5,747
  • 5
  • 43
  • 55
85
votes
12 answers

Exclude files from web site publish in Visual Studio

Can I exclude a folder or files when I publish a web site in Visual Studio 2005? I have various resources that I want to keep at hand in the Solution Explorer, such as alternate config files for various environments, but I don't really want to…
Jim Snyder
  • 853
  • 1
  • 7
  • 7
84
votes
6 answers

How to set up Google C++ Testing Framework (gtest) with Visual Studio 2005

It is not documented on the web site and people seem to be having problems setting up the framework. Can someone please show a step-by-step introduction for a sample project setup?
knaser
  • 1,421
  • 7
  • 19
  • 16
80
votes
18 answers

The name 'controlname' does not exist in the current context

I have a web application that I'm working on (ASP.NET 2.0 with C#, using Visual Studio 2005). Everything was working fine, and all of a sudden I get the error: Error 1 The name 'Label1' does not exist in the current context and 43 others of the…
zohair
  • 2,369
  • 10
  • 35
  • 41
74
votes
3 answers

How to change Visual Studio exception message language to English while debugging

I am working on machine with XP Dutch version installed on it. Visual studio 2005 is installed in English. I'm having the annoying problem while debugging that all .NET Framework exception message appear in Dutch, which make them really worthless. I…
Oysio
  • 3,486
  • 6
  • 45
  • 54
73
votes
6 answers

Formatting - at once - all the files in a Visual Studio project

I am interested in formatting all the files in a Visual Studio (ver. 2005) project all at once. Currently, there is a way to format a single document by doing something like Edit->Advanced->Format Document. However, I don't see a single command to…
Dan
  • 871
  • 1
  • 9
  • 13
70
votes
3 answers

Can we execute a .bat file in post build event command line in visual studio?

Can we execute a .bat file in post build event command line in visual studio?
68
votes
6 answers

Renaming the containing project folder in VS.net under TFS

I have a vs.net project, and after some refactoring, have modified the name of the project. How can I easily rename the underlying windows folder name to match this new project name under a TFS controlled project and solution? Note, I used to be…
Bermo
  • 4,921
  • 1
  • 28
  • 31
68
votes
11 answers

Visual Studio identical token highlighting

I coded a Mancala game in Java for a college class this past spring, and I used the Eclipse IDE to write it. One of the great (and fairly simple) visual aids in Eclipse is if you select a particular token, say a declared variable, then the IDE will…
Darren Steinweg
  • 1,261
  • 1
  • 11
  • 15
67
votes
13 answers

Determine assembly version during a post-build event

Let's say I wanted to create a static text file which ships with each release. I want the file to be updated with the version number of the release (as specified in AssemblyInfo.cs), but I don't want to have to do this manually. I was hoping I could…
Winston Smith
  • 21,585
  • 10
  • 60
  • 75
63
votes
3 answers

What does the suffix #DEN mean on the value of a variable

When debugging in VS2005 I have a float in the Locals window whose values is: 1.744e-039#DEN What does the #DEN signify/stand for?
davetapley
  • 17,000
  • 12
  • 60
  • 86
63
votes
13 answers

Copy-paste code from Visual Studio, but paste UNFORMATTED code

Is there any way to force Visual Studio to copy selected code to the clipboard as unformatted text? When I am copy-pasting code into Word or more often Outlook I have to do it via Notepad to get rid of the formatting...there has to be an easier way!
Richard Ev
  • 52,939
  • 59
  • 191
  • 278
60
votes
11 answers

What are some reasons a Release build would run differently than a Debug build

I have a Visual Studio 2005 C++ program that runs differently in Release mode than it does in Debug mode. In release mode, there's an (apparent) intermittent crash occurring. In debug mode, it doesn't crash. What are some reasons that a Release…
BeachRunnerFred
  • 18,070
  • 35
  • 139
  • 238