Kaoru
Kaoru

Reputation: 2883

Change the visual studio solution file from 2013 to 2010

I have a project that I made in Visual Studio 2010 earlier before Visual Studio 2013 came out.

After visual studio 2013 come out, I uninstalled Visual Studio 2010 and opened the project in Visual Studio 2013.

I found that in Visual Studio 2013, it doesn't support creation of a setup MSI file with just a couple of click and setting, so i decided to install Visual Studio 2010 again in my computer.

Then I opened the project in Visual Studio 2010 but once I open the file with VS2010, an error says it cannot be opened because the project was from newer version of visual studio.

How can I solve this? Thanks

Upvotes: 0

Views: 18291

Answers (2)

Neel
Neel

Reputation: 11741

The thing is that after VS2012 it does not support MSI files so that it will give you Unsupported error..

The alternative for making set up file is using Top shelf which provides same functionality u needed so implement it and remove setup files then it will easily run on VS2013.

http://topshelf-project.com/

https://github.com/Topshelf/Topshelf

AND FOR UR QUERY :-

Just open the solution in a text editor in the second line you can find

Microsoft Visual Studio Solution File, Format Version 12.00

change the version to 11.00 and save it.

Try to open the solution and it works.

Upvotes: 3

Enigma
Enigma

Reputation: 1717

Create a new visual studio 2010 solution and add the files/projects manually. Also use a versioning system (e.g. svn) to prevent this from happening in the future again.

Upvotes: 0

Related Questions