The goal is to run the solution or project written with .NET Framework 3.5 and Visual Studio 2008 in to Visual Studio 2010 with .NET Framework 4.0. The application written in ASP.NET with Framework version 3.5. It could be necessary to convert the project into .NET Framework 4.0. We are going to show how it’s possible to do with MS Visual Studio LightSwitch beta.
Visual Studio LightSwitch beta is an alternative of MS Visual Studio 2010, it also requires .NET Framework 4.0. It possible to open the solution in VS LightSwitch to switch the project into .NET Framework 4.0
1. Open the target project written with .NET Framework 3.5 or connect to TFS to open the solution:
2. To start switching just to doubleclick to the *.sln file (bottom in the root tree). You will see the Visual Studio conversion Wizard.
The solution or project you are opening must be converted. It was either created in previous version of Visual Studio, or it relies on an older version of a program thatyou have installed on your computer.
Click Next to proceed.
Click Next if you would like to create backup
Click Finish to start converting.
5. During the conversion you could get “Web Site targeting older .NET Framework Found”
The Website is configured ti run an older version of the .NET Framework.You need to update the Website to use .NET Framework version 4.0.
Click Yes to proceed.
Click Close to finish the conversion and see the log file.
It works! After the solution build successful you could sure it works. It the same like in previous versions of .NET Framework and VS. You should firs see first ASP.NET Development Server is running:
Now you are ready to start executing all your test cases to be sure your application works correct.