Link to home
Create AccountLog in
Avatar of LockDev

asked on

Upgrade Visual Studio 2008 application to VS 2012

I would like to upgrade my web forms application from Visual Studio 2008 to Visual Studio 2012. I am getting errors. Do I need to buy Visual Studio 2010 and upgrade my application to 2010 and then to 2012?

Thank you for your help.
Avatar of kaufmed
Flag of United States of America image

What errors are you getting? I shouldn't think you would need to use 2010 as an intermediate step since the projects are interchangeable between 2010 and 2012 (i.e. you don't have to "upgrade" a 2010 project to 2012).
Avatar of LockDev


I get the following error:

LMCart.sln: Visual Studio needs to make non-functional changes to this project in order to enable the project to open in this version and Visual Studio 2010 SP1 without impacting project behavior.

In the solution explorer, I see LMCart (load failed)

Thank you
If I recall correctly, this is normal. I would suggest making a backup of the solution, and then agreeing to the suggested changes. See if the updated project works. If not, revert to the backup copy.
Avatar of LockDev


How do I agree to the suggested changes?

Also, when I upgrade, how do choose to upgrade to  2010 like you suggested earlier.

Thank you for your help.
Avatar of Jacques Bourgeois (James Burger)
Jacques Bourgeois (James Burger)
Flag of Canada image

Link to home
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of LockDev


One more question. I am now using Visual Studio 2012. However, the solution file still shows Visual Studio Express 2010. How do I upgrade the solution to 2012?
Both versions of Visual Studio use the same file format, so there is no conversion. The icon and the default program are stuck to the version of Visual Studio in which the project was created (On Windows 8, the icon is the same for a project and a solution, and does not show the little 10 and 11). But you can load in either.

You can thus fire Visual Studio 2012 and load your 2010 project into it, then come back to Visual Studio 2010 if you want to, with the same code files.

Personnally, I never bothered to look on a way to change the icon or the default program. I simply fire the version of Visual Studio I want to work in, and the project shows in the list of recent projects. I load it from there. It works as it is.

If you absolutely  want to change the project to 2012, here is a hint on something that could work (backup before trying it). Unfortunately, I am on the road right now, and the only files I have on my portable are in 2012 format, so I am not sure of what I am going to tell you, but look at the header of the .sln file:

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012

... and the following entry in the vbproj file:


It is quite possible that changing the files with those will "convert" them to 2012.