Just one week before entering the new company, and the new company's project was developed in the vs2008 environment.
However, I am used to the convenience brought by various extensions of vs2010.
Therefore, it is converted into a project opened by vs2010.
Then, the source code is submitted to the team management.
Therefore, the children developed with vs2008 are miserable.
But the method is as follows:
First, check the. sln file of the project and open it with notepad,
Vs2008 is
Microsoft Visual Studio Solution File, Format Version 10.00# Visual Studio 2008
Vs2010 is
Microsoft Visual Studio Solution File, Format Version 11.00# Visual Studio 2010
Therefore, based on the comparison, we will know how to modify it;
Then, you need to check the. csproj file:
Vs2008 is
<?xml version="1.0" encoding="utf-8"?><Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
Vs2010 is
<?xml version="1.0" encoding="utf-8"?><Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
So we found thatToolsversion. Then we can make the corresponding changes.
Finally, we can double-click to open the project we want to develop.
Ultimate effort-saving
Yiyuanyou found a problem solved on the codeprojectVisual Studio version Conversion Tool".
Author:Codebureau-Matt simner,Original address: solutionconverter
References:
Http://www.cnblogs.com/zhuqil/archive/2010/05/31/SolutionConverter.html
Http://www.cnblogs.com/boyliupan/archive/2010/06/22/1762726.html