visual-studio-2005

Why is Visual Studio 2005 so slow?

It is slow to load anything other than a small project. It is slow to quit; it can sometimes take minutes. It can be slow to open new files. The record macro feature used to be useful. It is now so slow to start up it's almost always quicker to do it manually! More info would be helpful. How big are your solutions? What platform ar...

Strange Dependency Behavior in VS.NET 2005 (Unnecessary .CPP Compilation)

I work on a large Visual C++ (MFC) project in VS.NET 2005. I have noticed strange behavior in Visual C++ 2005. Often, I will change one line of code in a .CPP file but many .CPP files will compile as a result of this. I have never seen this until VS.NET 2005. Theortically, changing a line of code in a .CPP file should simply require rec...

MS Visual Studio "Package Load Failure" error

I'm receiving "Package Load Failure" error when I open VS 2005 after I installed the latest VisualSVN (v. 1.5.2). Anyone facing this error? Is there any tool out there to help identify which package didn't load and/or help unload a specific package? ...

Code Profiling in Visual Studio 2005

I have a Visual Studio 2005 Solution workspace which in turn has 8 projects included in it. I want to profile the complete code(all the projects) and get some measure about the absolute cycles taken by each function to execute, or at least percentage cycle consumptions. I checked out help for VS 2005, and also the project setiings optio...

Upgrading To Visual Studio 2008 From 2005

What are some advantages available in Visual Studio 2008 that I can bring up to my boss so I can convince him to upgrade from 2005? My main goal is to use MVC, but I need some good reasons why this would be better than what we have now. ...

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 able to do by fiddling with things in the background using SourceSafe ... ...

VS 2005 & 2008 library linking

Is it correct to link a static library (.lib) compiled with VS 2005 with a program which is compiled with VS 2008? Both library and my program are written in C++. This program is run on Windows Mobile 6 Professional emulator. This seems to work, there are no linking errors. However the program crashes during startup because strange thin...

How to shortcut time before data after first hit in browser

We have a couple of large solutions, each with about 40 individual projects (class libraries and nested websites). It takes about 2 minutes to do a full rebuild all. A couple of specs on the system: Visual Studio 2005, C# Primary project is a Web Application Project 40 projects in total (4 Web projects) We use the internal VS webserve...

Implementing user defined display order UI

i have a list of products that are being displayed in particular order. store admin can reassign the display order, by moving the "hot" items to the top of the list. what's the best way of implementing the admin functionality UI [asp.net C#]? Products table has a [displayOrder(int)] filed which determines the display order. i'm looking ...

Updating Legacy Code from System.Web.Mail to System.Net.Mail in Visual Studio 2005: Problems sending E-Mail

Using the obsolete System.Web.Mail sending email works fine, here's the code snippet: Public Shared Sub send(ByVal recipent As String, ByVal from As String, ByVal subject As String, ByVal body As String) Try Dim Message As System.Web.Mail.MailMessage = New System.Web.Mail.MailMessage Message.To = recipen...

How to validate an XML file against a schema using Visual Studio 2005

Is it possible to validate an xml file against it's associated schema using Visual Studio 2005 IDE? I could only see options to create a schema based on the current file, or show the XSLT output ...

Perform token replacements using VS post-build event command?

I would like to "post-process" my app.config file and perform some token replacements after the project builds. Is there an easy way to do this using a VS post-build event command? (Yeah I know I could probably use NAnt or something, looking for something simple.) ...

How to embed command shell in Visual Studio

I would like to be able to embed a command line interpreter inside a dockable window in Visual Studio. Is there any nice way to do this? ...

VS 2005 Installer Project Version Number

I am getting this error now that I hit version number 1.256.0: Error 4 Invalid product version '1.256.0'. Must be of format '##.##.####' The installer was fine with 1.255.0 but something with 256 (2^8) it doesn't like. I found this stated on msdn.com: The Version property must be formatted as N.N.N, where each N represents at least o...

Checkbox in listview control

Can you have a multicolumn listview control where one of the columns is a checkbox? Example code or links would be greatly appreciated. i am using visual studio 2005 ...

VS 2005 Toolbox kind of control .NET

Hi, I'm looking for a control that the Visual Studio "Toolbox" menu uses. It can be docked and can retract (pin). Would you know where I can find a control or COM I could use which would look like this? ...

Classis ASP debugging global.asa in VS2005

I was trying to set a breakpoint in global.asa in an old classis ASP project with IIS 6 in Visual Studio 2005. Somehow the context menu for actually setting the breakpoint somewhere in global.asa is disabled (greyed). How can I set a breakpoint then? Breakpoints in .asp pages are no problem though and do work fine. ...

Visual Studio 2008: Is it worth the upgrade from 2005?

As of the fall of 2008 I'm about to embark on a new development cycle for a major product that has a winforms and an asp.net interface. We use Telerik, DevExpress and Infragistics components in it and all are going to have a release within a month or so which will be the one I target for our spring release of our product. They all su...

Krypton Controls anyone?

I found the ad on this site to Krypton controls (and here's another one! http://www.componentfactory.com) and was wondering if any of you using vs.net 05 or 08 are using them and how that's working out. If you're answering, please specify which parts you're using (free, ribbons, tabs) and which vs.net you're on, which language(s) you use...

Image Misalignment in Visual Studio application

I have a Visual Studio application with a splash screen image cut into "slices". The positions are specified in the Form Designer so they line up properly on the screen. However, the images are out of place when the application is run on the Chinese version of Windows XP. It looks as if the image slices were "exploded" apart. What's goi...