Easily Converting to Visual Studio 2008

With VS 2008 being released on Monday, let the project conversions begin! While I wish we could have had a single project and solution format that would have worked between VS 2005 and VS 2008, at least we can use VS 2008 to target .NET 2.0 only projects. Faced with converting about 100 different project files and solutions, the thought of manually opening each one and going through the upgrade wizard didn’t sound that appealing. Fortunately, there’s an easier way to automatically upgrade a solution or project: the /upgrade switch on DEVENV.EXE (the Visual Studio IDE itself).

Begin by opening a Visual Studio Command Prompt from the Start menu. Navigate to your project tree and execute “devenv /upgrade MySoln.sln” (without the quotes). Visual Studio will automatically upgrade the solution and all projects as well as create backups. Using the /upgrade switch is about a million times faster than the wizard!

There’s not a whole lot different between VS 2005 and VS 2008 projects. See DJ Park’s blog for the exact differences and how you could convert between them.

John Robbins

View Comments

  • We have found some VERY nasty little bugs in the conversion that occur pretty randomly.
    1) Some of our project combo boxs have the SORTED attribute set to true. Problem is it only sorts the displayed column, not the column of KEYS. So what you select is NOT what you get.
    2) It has changed some of our "i" to zeros. By that I mean where we have used an index for reference rows in a listview the conversion changed the listview.items(i).subitems(0).text to
    listview.items(0).subitems(0).text
    In a very large project it can be a challange to find all of these because the conversion seemed to randomly pick and choose where it would screw up.

  • Гм, это прикол такой ? Оно и так по умолчанию включено в среде, если система мультипроцессорная. Надо же, больше года пользуюсь, как на VS2005 перешёл, а оказывается это тайна :-DСм. ToolsOptionsProjects and SolutionsBuild and Runmaximum number of plalrael project builds

Recent Posts

8-Step AWS to Microsoft Azure Migration Strategy

Microsoft Azure and Amazon Web Services (AWS) are two of the most popular cloud platforms.…

4 days ago

How to Navigate Azure Governance

 Cloud management is difficult to do manually, especially if you work with multiple cloud…

2 weeks ago

Why Azure’s Scalability is Your Key to Business Growth & Efficiency

Azure’s scalable infrastructure is often cited as one of the primary reasons why it's the…

4 weeks ago

Unlocking the Power of AI in your Software Development Life Cycle (SDLC)

https://www.youtube.com/watch?v=wDzCN0d8SeA Watch our "Unlocking the Power of AI in your Software Development Life Cycle (SDLC)"…

1 month ago

The Role of FinOps in Accelerating Business Innovation

FinOps is a strategic approach to managing cloud costs. It combines financial management best practices…

1 month ago

Azure Kubernetes Security Best Practices

Using Kubernetes with Azure combines the power of Kubernetes container orchestration and the cloud capabilities…

2 months ago