Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Manually Start Visual Studio Conversion Wizard

I want to convert my .NET Website that is currently in .NET Framework version 3.5 SP 1 to 4.0. Now you get a conversion wizard when you open a VS 2008 solution in VS 2010. The wizard will convert the solution to 2010 and at the same time can convert the projects to .NET 4.0. I already converted my solution to VS 2010 but did not at the time convert to .NET 4.0. Does anyone know how to start the VS Conversion Wizard manually? According to this article it should start when you open the solution, that is not the case for me.

Thanks for your help!

like image 591
Lukasz Avatar asked Nov 04 '10 13:11

Lukasz


2 Answers

The wizard converts solutions and projects from previous VS versions to the current one. It will not open again, because you already converted it to VS2010.

To change to .NET 4.0:

  1. Right-click on the project in your Solution Explorer, and click "Properties".
  2. Switch to the "Compile" tab.
  3. Click the "Advanced Compile Options..." button.
  4. Change the Target Framework to ".NET Framework 4."
like image 90
Gerardo Grignoli Avatar answered Dec 13 '22 23:12

Gerardo Grignoli


AFAIK, The wizard doesn't do anything that switching target type in the project won't do. You might not get the option to back up, but you're already doing versioning, right?

like image 43
Robert Jeppesen Avatar answered Dec 13 '22 23:12

Robert Jeppesen