visual-studio-2005

Add Solution Folder for VS 2008?

I just started to use VS 2008 Express. I noticed that I cannot add a new solution folder within a solution in the way like VS 2005 Prof. Not sure if this feature is disabled in the Express version or not. In VS 2005, I can also add project within a virtual solution folder. This makes my projects in a well organized tree. However, I cann...

Override visual studio syntax highlighting through a plug-in?

Hi, This is related to this question I asked earlier about syntax highlighting user-defined blocks of code. Is it possible to write some kind of plug-in for visual studio where it would override how it does syntax highlighting? Where would I start looking for that? Thanks! ...

Programmatically changing file icons in Visual Studio 2005's solution explorer

I'm writing an add-in for Visual Studio, which must be compatible with VS 2005. This add-in involves marking certain files as "special", and I'd really like to make their specialness visually apparent in the Solution Explorer - currently my users either have to manually keep a note of which files are special, or right-click on each poten...

How can I inhibit warning 4200 in Visual Studio 2005?

I can inhibit many warnings in Visual Studio 2005 SP1 in the C/C++ Advanced property page, which causes the IDE to use the /wd switch on the command line which invokes the compiler. However, when I try to inhibit warning 4200 (nonstandard extension used : zero-sized array in struct/union), it still appears when I compile. (Of course it's...

How to interact Visual Source Safe with Visual Studio 2005 ?

I use Visual Studio 2005 and I wanted to setup Visual Source Safe 8.0. I run the setup and It works properly I can access VSS administration tool and visual source safe via start menu. But, I can not see File / Source Safe menu in my Visual Studio 2005. Does anyone know how can I interact my visual source safe and visual studio ? SO...

Opening C# 2008 in 2005

I have Visual C# 2008 on my home computer but 2005 on my computer at school. Is there a patch or something I can download to be able to run 2008 files on 2005? ...

/MT and /MD builds crashing, but only when debugger isn't attached: how to debug?

I have a small single-threaded C++ application, compiled and linked using Visual Studio 2005, that uses boost (crc, program_options, and tokenizer), a smattering of STL, and assorted other system headers. (It's primary purpose is to read in a .csv and generate a custom binary .dat and a paired .h declaring structures that "explain" the ...

Is there a Windows equivalent of EDQUOT?

I'm porting some C++ code from UNIX to Windows which detects the occurrence of the EDQUOT error, which indicates that there was an unsuccessful attempt to exceed the current user's disk quota. Visual Studio's <errno.h> doesn't have an EDQUOT, although I know that Windows has disk quota functionality. Visual Studio's <errno.h> does have a...

How to fix the HTML Intellisense in ASP.NET AJAX Controls or Pages

I'm using ASP.NET AJAX. I create a .aspx page that is based on a .master file. I add the , , control into the content page, and suddenly the markup intellisense no longer works for these controls, or for any controls nested within them. Is this a bug? Can I fix this? ...

Are there reasons to use Visual Studio 2005 when 2008 is available?

What reasons are there for continuing to run Visual Studio 2005 when 2008 is available? I work on a project where the environment is dictated to be Visual Studio 2005. Are there good technical reasons for this? Can I use Visual Studio 2008 and build an app that is 100% indistinguishable from the same app build with Visual Studio 200...

MFC: Why does my spin control work backwards

Using MS Visual Studio, I have attached a spin control to an edit control using the "auto buddy" property. The spin control alters the edit box, but the up button decrements the value and the down button increments the value. How do you fix this? ...

Click to activate VS2005 tool panes in Vista causes double-click

I've been putting up with this forever and suddenly I thought: Maybe someone else has run across this! In Visual Studio 2005 on Vista x86, when I click on a tool pane that does not have focus, it does a double-click. Does this with the property window, toolbox, error list, output window, and so on. Some things I've noticed: This happ...

How can I make a Visual Studio Macro to attach the debugger to all instances of w3wp.exe?

I'm normally developing web apps, and a surprisingly large amount of my work time is spent doing "Ctrl + Alt + P", sorting by Process Name, and picking w3wp.exe to attach my debugger. To make matters worse, I'm working on an app that spans several application pools, so I normally have 2 or 3 instances of w3wp.exe, and it's impossible to...

How to Convert VS2003 proj to VS2005 proj

Hi I have test project which i need to convert from VS2003 to VS2005 and i am afraid i got lot of errors and warnigs. The error mostly appeared is ** error C2220: warning treated as error - no 'object' file generated** The same project wil get compiled in VS2003 and executing wel.what i can do??? Thanks in advance ...

System.BadImageFormatException: How to fix .NET version mismatch?

I wrote a dll in VS 2005 that will be loaded by another program that was developed in VS 2003. When that program tries to load my dll, it throws a System.BadImageFormatException: The format of the file 'Foo.dll' is invalid. I searched SO and Google, and it seems that the different version of .NET is the culprit. My question is: How do I...

dataset visualizer

I've had problems with the dataset visualizer that comes with 2005 and 2008 blowing up on me. I can't recall the error at the moment, but I would think that because it is intermittent that it is data dependent. Then again, the visualizer should be capable of displaying whatever can be put into a ds, or at least not blow up. Does anyone ...

How to set up MS Visual Studio 2005 project dependencies for efficient compiling (c++)?

How do I set up MS Visual Studio 2005 project dependencies such that making a change in a higher level project does not force a recompile of all other projects it depends on. If I have 5 dll projects, which are related in various ways... Under the 'Project'->'Dependencies' I have identified the next project down, but only down one level...

Can You Specify the Order of Test Execution in VS 2005 Test Engine?

I am using the provided Unit Test Engine in Visual Studio 2005 and am wondering if there is a way for me to specify the order of tests. I have numerous test classes and numerous test methods inside of each. I would like to control the order in which the test classes are executed and the order of the test methods in each. ...

How does one convert a Visual Studio .NET 2008 solution to Visual Studio .NET 2005?

Assume that a solution only contains classes and that those classes are all written to .NET 2.0 specifications. If that solution were to be opened, converted and saved in Visual Studio 2008, would it be possible to reopen the solution later in Visual Studio 2005 with some minimal modifications to the .SLN file? How would one go about d...

Changing target directory for a pre-build command in VS 2005

I'm programming in VB using Visual Studio 2005 Professional. I have a code munger perl script that generates some of the *.vb files that I want to compile. The script and the associated files are in my project directory, and when I run the script from the OS command prompt, it writes the files in the same directory, which is what I wan...