I decided to update all of the projects I have lying around to open in Visual C# Express 2008. I was a bit daunted by opening each project and converting it, so I thought, lets look at what files need changing. when it gets right down to it, only two file types need editing.
Firstly the solution (*.sln) file needs the following two lines changing from:
Microsoft Visual Studio Solution File, Format Version 9.00
# Visual C# Express 2005
to:
Microsoft Visual Studio Solution File, Format Version 10.00
# Visual C# Express 2008
Then any project file within the solution (*.csproj) needs the following lines changing from:
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == " ">AnyCPU</Platform>
<ProductVersion>8.0.50727</ProductVersion>
to:
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="3.5" DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>9.0.21022</ProductVersion>
Plus you need to add the following two lines to the first PropertyGroup tag
<TargetFrameworkVersion>v3.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
Once this has been done, then the project opens in C# Express 2008 without having to go through the conversion process.