Export Visual Studio 2012 to 2010 sln format

My teacher is complaining that he can't read the VS2012 format on his VS2010 environment. I looked around in settings and so on but couldn't find anything. How can I give the project in an VS2010 readable format to my teacher?

Answers


Assuming this is not a terribly complex project (I'm making that assumption since there is a teacher involved), the easiest approach may be just to re-create the project in Visual Studio 2010.

Fire up VS2010, add your files, make any necessary changes to settings, and save.

You will need VS2010 no matter what approach you take. Even if you convert the project file by other means, it would be very wise to test it before handing it in again. The Express edition is free.


Modifying sln manually
  1. Backup your project folder (copy/paste to another location, like a folder called "backups")
  2. Open sln file on wordpad
  3. Change the "header" of opened sln to below (the first lines that matches mentioned lines below, except by version number/name):

    Microsoft Visual Studio Solution File, Format Version 11.00
    # Visual Studio 2010
    

I'll see if there is a way to do it in project options...


If the VS2010 installation has SP1 installed, then it should be able to read the VS2012 solution file.


Need Your Help


About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.