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
274
votes
16 answers

How to fix "Referenced assembly does not have a strong name" error

I've added a weakly named assembly to my Visual Studio 2005 project (which is strongly named). I'm now getting the error: "Referenced assembly 'xxxxxxxx' does not have a strong name" Do I need to sign this third-party assembly?
ng5000
  • 12,330
  • 10
  • 51
  • 64
267
votes
47 answers

Unable to copy file - access to the path is denied

I am using Visual Studio 2005. After taking code from version control first, the c#.net application runs correctly. But, after doing some modifications, when I build I am getting the following error: Error 383 Unable to copy file…
ricky
  • 2,771
  • 2
  • 16
  • 15
229
votes
10 answers

How do I see a C/C++ source file after preprocessing in Visual Studio?

Let's say I have a source file with many preprocessor directives. Is it possible to see how it looks after the preprocessor is done with it?
Geo
  • 93,257
  • 117
  • 344
  • 520
173
votes
4 answers

Visual Studio, Find and replace, regex

I am trying to replace all the #include "whatever.h" with #include using find and replace functionality in Visual Studio 2005. I used the regex \#include \"[a-z\.h]+\" to find the include statement. But I am wondering how frame the…
bdhar
  • 21,619
  • 17
  • 70
  • 86
173
votes
10 answers

Panel.Dock Fill ignoring other Panel.Dock setting

If you create a panel on a form and set it to Dock=Top and drop another panel and set its Dock=Fill, it may fill the entire form, ignoring the first panel. Changing the tab order does nothing.
Jeff Cuscutis
  • 11,317
  • 6
  • 28
  • 21
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
153
votes
16 answers

Visual Studio setup problem - 'A problem has been encountered while loading the setup components. Canceling setup.'

I've had a serious issue with my Visual Studio 2008 setup. I receive the ever-so-useful error 'A problem has been encountered while loading the setup components. Canceling setup.' whenever I try to uninstall, reinstall or repair Visual Studio 2008…
ljs
  • 37,275
  • 36
  • 106
  • 124
148
votes
3 answers

What is the difference between Release and Debug modes in Visual Studio?

Possible Duplicate: Debug vs. release in .NET Debug/Release difference What is the difference between Release and Debug modes in Visual Studio while building a project?
Cute
  • 13,643
  • 36
  • 96
  • 112
139
votes
9 answers

How do you tell the Visual Studio project type from an existing Visual Studio project

Using Visual Studio 2005. Is there anything in the .sln or .vcproj files (or anywhere else) that defines the project type / subtype? Edit: What I mean is that when you create a project, you first choose a language (e.g. Visual C#), then a project…
rbrayb
  • 46,440
  • 34
  • 114
  • 174
138
votes
10 answers

Why is std::min failing when windows.h is included?

#include #include int main() { int k = std::min(3, 4); return 0; } What is windows doing if I include Windows.h? I can't use std::min in visual studio 2005. The error message is: error C2589: '(' : illegal token on…
hidayat
  • 9,493
  • 13
  • 51
  • 66
127
votes
13 answers

Cannot find Dumpbin.exe

I do not see dumpbin.exe on my system. I have Visual Studio 2005 on my system. When I type dumpbin on the command line, it says unrecognizable command. Does it come with Visual Studio by default, or do I have to explicitly add this tool?
Rakesh Agarwal
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.
111
votes
18 answers

F12 no longer works in Visual Studio

This is driving me crazy. Ever since I installed ReSharper 4, F12 no longer seems to work. If you look at the all the ReSharper short cuts in the Goto sub menu Declaration doesn't have any assigned! The only way I can go to declaration is by using…
Dean
  • 5,896
  • 12
  • 58
  • 95
110
votes
10 answers

How do I print to the debug output window in a Win32 app?

I've got a win32 project that I've loaded into Visual Studio 2005. I'd like to be able to print things to the Visual Studio output window, but I can't for the life of me work out how. I've tried 'printf' and 'cout <<' but my messages stay stubbornly…
izb
  • 50,101
  • 39
  • 117
  • 168
103
votes
6 answers

Signed/unsigned comparisons

I'm trying to understand why the following code doesn't issue a warning at the indicated place. //from limits.h #define UINT_MAX 0xffffffff /* maximum unsigned int value */ #define INT_MAX 2147483647 /* maximum (signed) int value */ /*…
Peter
  • 1,031
  • 2
  • 8
  • 4
1
2 3
99 100