VS2010 Open 2012 Item (reprint)

Source: Internet
Author: User

Original source: http://www.cnblogs.com/johnsony/p/Version2012To2010.html

Vs2012 came out, but MS is always up-to-the-top compatible. Nonsense not much to say that the direct theme

To open a vs2012 solution with vs2010 you have to change 2 things, solutions and engineering files

The solution is the suffix named. sln

vs2010

vs2012

, change version from 12.00 to 11.00, 2012 to 2010

The project file is the suffix named. csproj in all project folders in the solution.

vs2010

vs2012

, vs2012 of the project documents in a row, the number of this line to delete is, there are special attention is to see targetframeworkversion version, is the framework version.

The default framework for creating a project in vs2012 is 4.5, and VS2010 is at most 4.0, so if you convert to vs2010 you have to change the version to 4.0 or the following version.

The last thing to note is the config file, which also has the framework version problem in config (Web site is Web. config, application is app. config) file.

vs2012 Web. config

Change the targetframework version to the targetframeworkversion of the project file.

Finally, good luck!

VS2010 Open 2012 Item (reprint)

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.