1.2.3. How to Upgrade Projects from XNA Game Studio 3.0 CTP to XNA Game Studio 3.0
You will need to manually upgrade projects that were created with XNA Game Studio 3.0 CTP in order to use them with XNA Game Studio. The upgrade wizard for XNA Game Studio upgrades only XNA Game Studio 2.0 projects. To manually upgrade a project created in XNA Game Studio 3.0 CTP, use the following procedure.
- Open the <projectname>.csproj file in a text editor, such as Notepad.
-
Scroll down to the bottom of the .csproj file, and locate the following three
<Import.../>
elements.<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\v3.0\Microsoft.Xna.GameStudio.Common.targets" /> <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\v3.0\Microsoft.Xna.GameStudio.NestedContent.targets" />
Replace these with the following two <Import.../> elements. Note that the first element is the same.
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildExtensionsPath)\Microsoft\XNA Game Studio\Microsoft.Xna.GameStudio.targets" />
- Save the .csproj file.
-
Open <projectname>.csproj in Visual C# 2008 Express Edition or Visual Studio 2008 to use it with XNA Game Studio 3.0