visual-studio-2005

homesite attribute for .NET 2.0 SP1 aka download location for installers

When including .NET 2.0 as a dependency in a setup project, the project is able to automatically download .NET 2.0 from the web if the machine needs it. The attribute that tells the setup project where this download location is does not seem to exist for .NET 2.0 SP1. Does a 'homesite' location exist for .NET 2.0 SP1? It makes the d...

Visual Studio IDE pops many windiws in debug mode

Hi, I have .NET 2005 installed. Recently during debugging a project many debug windows pop up. For e.g. Memory 1 - 7 windows, watch 1-4 windows, process window etc. In all about 20 windows pop up. I don't have any custom configuration files which open so many windows. I re-installed .NET 2005, the problem went away for a couple of day...

Console window display by argument

I have a C# project building "winexe" that startup without console window. However, I want to dispaly the console window and write stdout/stderr by giving a cmd line parameter. If it close, the application shutdown. For example: eclipse.exe -debug How can it be done? PS. I am using Visual Studio 2005 ...

Visual Studio 2005 - Projects disappearing

Hmmm, a new odd issue that has just started. Every now and then VS drops a whole bunch of projects from the solution. It will say at the top of Solution explorer "42 projects" when it is displaying only about 20 or so. Closing VS and re-opening it fixes this, although it is a bit of a pain as it takes a little while for the .sln to open ...

What happens to an STL iterator after erasing it in VS, UNIX/Linux?

Please consider the following scenario: map(T,S*) //Forward decleration map(T, S*) T2pS = GetMap(); for(map(T, S*)::iterator it = T2pS.begin(); it != T2pS.end(); ++it) { if(it->second != NULL) { delete it->second; it->second = NULL; } T2pS.erase(it); //In VS2005, after the erase, we will crash on ...

Cached crystal reports controls on Toolbox in VS 2005 and VS 2008

I have a couple duplicate custom crystal reports controls in my Toolbox in VS2005 and VS2008. One of each of the duplicates is preceded with the word Cached. These controls are all part of other projects in the same solution. I have removed some of the main controls that I don't want on the Toolbox by adding the [ToolboxItem(false)] attr...

VS2005: Assembly '<assembly>' is incorrectly specified as a file.

i've added a reference to the log4net assembly dll to my project. When i build i get a warning saying: Warning Assembly 'Lib\log4net.dll' is incorrectly specified as a file. i look up the help for this error on MSDN, and it says: This warning is generated during application manifest generation when the build process de...

JavaScript debugging issue with vs2005

I encountered a strange problem today. Whenever i put a breakpoint in one of my js files, the breakpoint is not hit. I use Visual Studio 2005 in combination with TFS. In ie the disable script options are both disabled. The only thing that changed is that I installed Visual Basic 6 for an old project, but I don't see how that would imp...

Visual Studios 2005 - Clear custom properties in designer/property window

Morning all, I've created a custom control with an image property. That image property is a get/set to a private Image variable. Can anyone tell me how I enable that get/set to clear the property from the designer? I.e. if I add an image to a standard PictureBox, I can hit Del to clear the image from the PictureBox. How can I replicat...

Visual Basic Compiler keeps crashing

The question really says it all. For one project I am working on, the Visual Basic Compiler crashes resulting in me having to restart my IDE. It looks like it crashes when copying a PDB file and XML file for the web site for obj/debug to the output folder. Has anyone experienced similar crashes? If so how did you repair it? Are the...

How to make a single static library from multiple static libraries?

Hello everyone, We recently converted a C++ project from Visual Studio 6 to Visual Studio 8. Everything went well until we reached the compilation of a project who put all the static libraries inside one big static library. By default after the conversion between the two version of projects the project didn't do anything (no big static ...

Visual Studio (with Team Foundation Server) - How to get back to "Resolve" screen?

Hi, I started resolving conflicts in a merge and then had to quit to set something up. Now I don't see any way to get back to the stupid conflict resolution window. If I try to merge again it just gives me a bunch of warnings about the pending merge I already have? This is in Visual Studio 2005. ...

Need help moving nUnit tests into separate project

Everything works fine when the unit tests class is part of the main project (TestAccount). Every article I've read about unit testing recommends putting the tests in a separate project, so I... added another project (TestAccount.UnitTests) to the solution moved the unit tests class (AccountTests.vb) to TestAccount.UnitTests and ...

Visual Studio plug-ins : where should I store my tool's window last size and position ?

I have written a small plug in for Visual Studio 2005. It displays the name and the shortcuts of the last command you have used (nice for learning seldom used command's shortcuts). I display this information in a window that I manually dock between the project explorer and the property panel. The problem : every time I start Visual Stu...

Moving an arbitrary setting to a toolbar in Visual Studio

I want to be able to modify a certain setting of Visual Studio right from the toolbar. Specifically, the number of parallel builds (Tools | Options | Projects and Solutions | Build and Run | maximum number of parallel project builds). It can be either an edit box right on the toolbar or two buttons setting it to certain values. I use V...

Visual Studio 2005: static text control won't display with transparent background

I'm using the Dialog editor in Visual Studio 2005 to create a Dialog box with a static text control. I'd like the background of the static text control to be transparent since I'm using an static image control underneath it and the grey text background looks hideous. In the editor, I set the "Transparent" attribute to True and it cause...

When debugging on WinCE, how can I set Visual Studio to always load symbol files it knows about?

I'm debugging a WinCE, C++ program in Visual Studio across an ActiveSync connection. Every time I start the process it fails to load symbol information. However, if I right click on the module and hit 'Load Symbols' it correctly locates the symbol information without any further prompting from me. Is there a way that I can set Visual ...

Visual Studio: breakpoint excluding calls from a specific function

I want to set a breakpoint in unmanaged C++, in Visual Studio 2005, but I would like to ignore this breakpoint if the call stack is in a specific function. Is there a way to do this? ...

Visaul C++ 2005 hangs during qt builds

At my shop, the main product app is a mongrel built on MFC, QT and other random things devs have thrown in over the years. In the current stack, Qt toolkit is on the way out, but still features heavily. If I have SQL 2005 Management studio open and have to do a full build, it usually hangs a CPU (even after the offending process is take...

Compile a WinCE app as a PC app in VS2005

Hi, anyone knows a way how to compile a WinCE app as a PC app in VS2005. I want to change a standard MFC smart device app to an mfc windows app. ...