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)