
Converting the Project and Upgrading the .NET Framework Version
To begin, you open the project in Visual Studio 2008, which starts the conversion. It offers you an opportunity to back up the project before converting it.
Note: |
|---|
It is strongly recommended that you back up the project. The conversion works on the original project files, which cannot be recovered if the conversion is not successful.
|
To convert the project
In Visual Studio 2008, in the File menu, click Open, and then click Project.
The Open Project dialog box is displayed.
Browse to the folder that contains the project or solution file for the Visual Studio 2005 Web application project, select the file, and then click Open.
The conversion wizard starts.
Click Next.
The Conversion Wizard prompts you to create a backup before converting the project.
To create the backup, click Yes.
Click Browse, select the folder in which the backup should be created, and then click Next.
Click Finish.
The backup starts.
Note: |
|---|
There might be significant delays as the Conversion Wizard copies files, with no updates or progress indicated. Wait until the process finishes before you continue.
|
When the conversion finishes, the wizard prompts you to upgrade the targeted version of the .NET Framework for the project.
To upgrade to the .NET Framework 3.5, click Yes.
It is recommended that you leave selected the check box that asks whether you want to upgrade all Webs in the solution.
Ifyou upgrade to .NET Framework 3.5, the project's Web.config file is modified at the same time as the project file.
Note: |
|---|
You can change a project's
.NET Framework version manually later. To do so, in Visual Studio open the property pages for the project, click the Application tab, and then select a new version from the Target Framework list.
|
Click OK.
The wizard displays status information about the conversion.
Click Close.