Question

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!

Was it helpful?

Solution

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."

OTHER TIPS

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?

To amend the Framework target, i went to the property pages of the site > build tab > updated the target framework. It re-built the web site successfully for me.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top