VS2010与VS2008相互转化
来源:互联网 发布:淘宝领商家的券 编辑:程序博客网 时间:2024/05/16 12:58
http://www.codeproject.com/Tips/319568/Converting-VS2010-Solution-to-VS2008#alternative3
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:
- Open the solution file in your favorite text editor (ex: Notepad++).
- 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:
- Open project file in your favorite text editor (ex: Notepad++).
- 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)
Now you can open your solution file on VS2008.
Reverse of this will enable VS2008 solution to open in VS2010.
EDIT
After these changes, you may receive the below error:
Collapse | Copy Code
---------------------------Microsoft Visual Studio---------------------------Unable to read the project file 'XXX.csproj'. C:\Project path\XXX.csproj(89,11): The imported project "C:\Program Files\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.---------------------------OK Cancel ---------------------------
To fix this error, just change the VS version(v10.0 to v9.0) in your <Project_name >.csproj/vbproj file, that's all.Good luck with it.
- VS2010与VS2008相互转化
- VS2010与VS2008快捷键
- VS2010项目转化为VS2008项目
- VS2010项目转化为VS2008项目
- VS2010项目转化为VS2008项目
- vs2005与vs2008的转化
- json与表单相互转化
- 16 与ascii相互转化
- DataTable与Json相互转化
- char与TCHAR相互转化
- NSString与ASCII相互转化
- QWidget 与 CWnd相互转化
- int_64 与 字符串相互转化
- CString与string相互转化
- datetime与字符串相互转化
- char与TCHAR相互转化
- LPWSTR与CString相互转化
- NSString 与 NSData相互转化
- 先安装了.net环境,然后才安装 了IIS
- org.apache.commons.net.io.CopyStreamException: IOException caught while copying.
- javscript 验证 中文 非中文 包含中文
- 一位ACMer过来人的心得
- NirCmd v2.37帮助文档中文译本(一)
- VS2010与VS2008相互转化
- delphi 2010 cxgrid汉化
- NirCmd v2.37帮助文档中文译本(二)
- paxos分布式一致性算法--讲述诸葛亮的反穿越
- Redhat 4.8 系统下安装apache + subversion
- NirCmd v2.37帮助文档中文译本(三)
- TCP与UDP区别
- Java Integer值范围问题
- 网曝悼念牌汤圆吃出创可贴(图)