VS2010 Open the vs2012 solution

Source: Internet
Author: User

vs2012 out, but MS is still backwards 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.

It is possible that the VS load project times error has not been configured for Web project xxxx specified local IIS

Workaround: First open the project to csproj file, find <ProjectExtensions> This tag, is in the last part, then turn <UseIIS>True</UseIIS> to false, and then The contents of the <IISUrl>XXX</IISUrl> are removed. Reload, fix it.

Reprint Address: http://www.cnblogs.com/shoupifeng/p/3507121.html

VS2010 Open the vs2012 solution

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.