A summary of vs2005, VS2008 and VS2010 projects--practical tips for mutual transfer

Source: Internet
Author: User
Tags visual studio 2010

Programmers and friends who do. NET have asked me questions about the vs2005 and vs2008, vs2008 and vs2010, vs2005 and vs2010 projects, so there are two layers of meaning to this problem: one is to open a lower version of the project through a high version of the compiler and upgrade , you can open compilation by modifying soultion files and project files. The first method, I believe that we can do. I advocate the second approach, which is flexible enough to be upgraded from a lower version to a higher version and from a high to a lower version.

So let me tell you about the steps to upgrade to the VS2008 project through the VS2005 project, and here is the VS2005 project:

< a > Visual Studio 2005 Project-〉visual Studio 2008 project, Visual Studio 2008 Project->visual Studio 2005 project

(1) You need to modify the Listviewcolor solution file, change the red box version 9.00 to 10.00, and change Visual Studio 2005 to Visual Studio 2008, as shown in the following illustration:

(2) Open the Listviewcolor folder and use Notepad to open the Listviewcolor project file. Add toolsversion= "3.5" to the first row, as shown in the figure:

Change the MSBuildBinPath to MSBuildToolsPath, as shown in the following illustration:

Now that the Listviewcolor solution file is open, you can open the project.

(3) If you want to completely upgrade the project to the. NET Framework 3.5, you can modify the target frame by right-clicking the project file-〉 property in Solution Manager, such as the diagram:

To this, the VS2005 Project Transformation VS2008 Project has been successful. If you want to convert the VS2008 project into a vs2005 project, you can follow the reverse method to complete the project transformation.

< two > Visual Studio 2008 Project-〉visual Studio 2010 project, Visual Studio 2010 Project->visual Studio 2008 Project

(1) For example, use Notepad to open the Listviewcolor solution file, change version number 10.00 to 11.00, change Visual Studio 2008 to Visual Studio 2010, as shown in the following illustration:

(2) Open the Listviewcolor folder and use Notepad to open the Listviewcolor project file. Change the first line toolsversion= "3.5" to toolsversion= "4.0", as shown in the figure:

So far, we have finished converting from VS2008 project to VS2010 Project, now double-click Listviewcolor solution file, can not open.

(3) Next, let's look at the property framework version.

Through a few steps, we have transformed from the VS2008 project to the VS2010 project, and from the VS2010 project to the VS2008 project, the same can be done by reverse method, to achieve your goal.

< three > Visual Studio 2005 Project-〉visual Studio 2010 project, Visual Studio 2010 Project->visual Studio 2005 project

(1) to convert from VS2005 project to VS2010 project, it is necessary to change the version number 9.00 in Listviewcolor solution to 11.00,visual Studio 2005 to Visual Studio 2010.

(2) Convert from VS2005 project to VS2010 project, add toolsversion= "4.0" to the first line in Listviewcolor project file, MSBuildBinPath to MSBuildToolsPath instead.

(3) from the VS2010 project into the VS2005 project, through the above methods, reverse operation, you can complete the transformation.

Through years of experience accumulation and learning for reference, according to their own research and exploration, these methods are effective. Hope is learning Visual Studio.NET friends or brothers and sisters less detours, for everyone to learn reference.
Ext: http://blog.csdn.net/ldl22847/article/details/6012777

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.