visual-studio-2008

Visual Studio 2008 debugger already attached work-around

I get the following error pretty regularly when compiling in Visual Studio and running my web application: "Unable to start debugging on the web server. The web server did not respond in a timely manner. This may be because another debugger is already attached to the web server." Normally this is after having debug the application onc...

Install Visual Studio 2008 Sp1 on "D" Drive

I am trying to install VS2008 sp1 to my work machine - it has a pathetic 10Gb C drive. The SP1 bootstrapper doesn't give the option to install items to D, only C. It needs 3Gb free and the machine only has about 700Mb. VS allowed me to install to D originally why not the SP. The only thing I can think of that it requires system files in...

"Could not find type" error loading a form in the Designer

I have a .NET 2.0 windows forms app, which makes heavy use of the ListView control. I've subclassed the ListView class into a templated SortableListView<T> class, so it can be a bit smarter about how it displays things, and sort itself. Unfortunately this seems to break the Visual Studio Forms Designer, in both VS2005 and 2008. The pr...

Visual Studio 2005 Macros stop working when Visual Studio 2008 is installed

I have a number of macros written for Visual Studio 2005, but they have since stopped working once I installed Visual Studio 2008 on my computer. No error is returned by the macro when I try and run it, and the environment merely shows the hourglass for a second and then returns to the normal cursor. Currently uninstalling one or the oth...

How to extend project properties page?

Is it possible to add a custom tab to a project properties page in the Visual Studio 2008? What I want to do is to be able to add a custom tab to properties page for the projects created from default project templates (WPF Application, WPF custom controls library, etc). ...

VS2008 SP1 crashes when debugging an XSLT file

I'm using VS2008 SP1 - don't know if this would have happened before I applied SP1 as I never tried it before yesterday. I attempted to debug a fairly simple XSLT file using VS2008 SP1 and got this crash from VS2008 SP1: Microsoft Visual Studio Unexpected error encountered. It is recommended that you restart the application as soon a...

Is it possible to slipstream the Visual Studio 2008 SP1 install?

From what I've read, VS 2008 SP1 and Team Foundation Server SP1 packages are traditional service packs that require you to first install the original versions before you will be able to install the SP. Is there a way, supported or not, to slipstream the install? ...

Visual Studio open files question

Is it possible to open a project in Visual Studio 2008 without opening all the files that were previously opened last time I had the project open. I have a habit of keeping many files open as I am working on them, so next time I open the project, it (very slowly) loads up a bunch of files into the editor that I may not even need open. I...

Map VS2008 keyboard shortcuts to Eclipse

I mostly work in VS2008 but I need to do some java work in Eclipse. Is there an easy and fast way to map the VS2008 keyboard shortcuts to Eclipse? For example, I want to map F11 in Eclipse to "step info" instead of its default of F5 but don't want to have to map each and every shortcut manually... ...

VS 2008 - ctrl-tab behavior

As you may know, in VS 2008 ctrl+tab brings up a nifty navigator window with a thumbnail of each file. I love it, but there is one tiny thing that is annoying to me about this feature: the window stays around after releasing the ctrl key. When doing an alt-tab in windows, you can hit tab to get to the item you want (while still holding d...

VS 2008 - Detachable code tabs

Admittedly this might not be a problem on larger screens, but my employer is abit tight and refuses to buy monitors larger than 19inch, this means that I dont have much screen real estate to view all the Visual Studio windows and my code at the same time, or two pieces of code at once. Is there anything that allows me to detach the code ...

How do I format Visual Studio Test results file (.trx) into a more readable format?

Have just started using Visual Studio Professional's built-in unit testing features, which as I understand, uses MS Test to run the tests. The .trx file that the tests produce is xml, but was wondering if there was an easy way to convert this file into a more "manager-friendly" format? My ultimate goal is to be able to automate the uni...

Python code generator for Visual Studio?

I had an idea, if I add a python .py file to my C# project, and tag the file with a custom generator that would execute the python file, and treat the output as the result of the code generation, ie. put it into a C# file, that would allow me to do quite a lot of code generation as part of the build process. Does anyone know if such a c...

How to open VS 2008 solution in VS 2005?

I have seen Solutions created in Visual Studio 2008 cannot be opened in Visual Studio 2005 and tried workaround 1. Yet to try the workaround 2. But as that link was bit old and out of desperation asking here: Is there any convertor available? ...

Summary fields in Crystal Report VS2008

I need to have a summary field in each page of the report and en page 2 and forward de same summary has to appear at the top of the page. Anyone know how to do this? Ex: > > Page 1 > > Name Value > a 1 > b 3 > Total 4 > > Page 2 > Name Value > Total Before 4 > c 5 > d 1 > T...

Third party Visual Studio snippets

Do you know where I could find some useful third party (free) code snippets for VS 2008? ...

Why does Visual Studio create a new .vsmdi file?

If I open a solution in Visual Studio 2008 and run a unit test then VS creates a new .vsmdi file in the Solution Items folder and gives it the next number available e.g. My Solution2.vsmdi. Any idea why VS is doing this and how I can get it to stop doing this? ...

What is the purpose of the designer files in Visual Studio 2008 Web application projects?

There is a conversion process that is needed when migrating Visual Studio 2005 web site to Visual Studio 2008 web application projects. It looks like VS2008 is creating a .designer. file for every aspx when you right click on a file or the project itself in Solution Explorer and select 'Convert to Web Application.' What is the purpose ...

Vista and VS2008 strangenesses

Has anyone noticed odd behaviours when using VS2008 on a Vista box? My main dev machine is a Dell SomethingOrOther running Vista Home Premium which is fully patched as is my VS2008. Some quirks are just quirks: when running VS2008 the play/pause media controls on my keyboard don't work (a Microsoft Wireless Natural Multimedia Keyboard ...

Using Visual Studio 2008 Web Deployment projects - getting an error finding aspnet_merge.exe

I recently upgraded a VS2005 web deployment project to VS2008 - and now I get the following error when building: The specified task executable location "bin\aspnet_merge.exe" is invalid. Here is the source of the error (from the web deployment targets file): <Target Name="AspNetMerge" Condition="'$(UseMerge)' == 'true'" DependsOnTarg...