如何把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 @   朱永光  阅读(478)  评论(0编辑  收藏  举报
编辑推荐:
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
阅读排行:
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· .NET周刊【3月第1期 2025-03-02】
· 分享 3 个 .NET 开源的文件压缩处理库,助力快速实现文件压缩解压功能!
· Ollama——大语言模型本地部署的极速利器
点击右上角即可分享
微信分享提示