Converting VS2010 Solution to VS2008,将vs2010工程转换成vs2008

If you are working with VS 2010 (any Edition) and cannot open your 2010 solution on VS 2008 then just follow these 3 Steps:

For <PROJECT_NAME>.sln:

1. Open the solution file in your favorite text editor (ex: notepad++).
2. Find the Following:
Microsoft Visual Studio Solution File, Format Version 11.00.
# Visual Studio 2010. 
Replace with:
Microsoft Visual Studio Solution File, Format Version 10.00. (I)
# Visual Studio 2008. (II, optinal)

For <Project_name >.csproj/vbproj:

1. Open project file in your favorite text editor (ex: notepad++).
2. Find the Following:
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">.
Replace with:
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">. (III)

Thats it..
Now you can open your solution file on VS2008.
Reverse of this will enable VS2008 solution to open in VS2010.

Good luck with it.

Regs,

ABHISHEK DEY

posted @ 2010-07-26 21:39  qiang.xu  阅读(1069)  评论(0编辑  收藏  举报