如何把XNA 3.0 CTP的项目文件升级到XNA 3.0正式版

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.

  1. Open the <projectname>.csproj file in a text editor, such as Notepad.
  2. 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" />
                
  3. Save the .csproj file.
  4. Open <projectname>.csproj in Visual C# 2008 Express Edition or Visual Studio 2008 to use it with XNA Game Studio 3.0

posted @ 2008-12-26 16:21  朱永光  阅读(473)  评论(0编辑  收藏  举报