Converting VS2012 Solution to VS2010

visual studio 2010visual studio 2012

I'm working in VB project with VS 2012 and after finish I try to add setup project.

I didn't find it (because the Setup Project was discontinued after VS2010) so I switched to VS2010 but the problem is the project wont open and I get this message:

The selected file is a solution file but was created by a newer
version of this application and cannot be opened.

I tried this article : http://www.codeproject.com/Tips/80953/Converting-VS2010-Solution-to-VS2008
and tried to convert from 2012 to 2010 but same message appears.

Best Answer

I also faced the similar problem. I googled but couldn't find the solution. So I tried on my own and here is my solution.

Open you solution file in notepad. Make 2 changes

  1. Replace "Format Version 12.00" with "Format Version 11.00" (without quotes.)
  2. Replace "# Visual Studio 2012" with "# Visual Studio 2010" (without quotes.)

Hope this helps u as well..........

Related Topic