终于XNA3.0的正式版出来了,之前发面的beta让我感觉很不爽,希望这更新能有什么值得兴奋的吧。
即将测试……
下载地址:
http://www.microsoft.com/downloads/details.aspx?FamilyId=7D70D6ED-1EDD-4852-9883-9A33C0AD8FEE&displaylang=en
旧的XNA项目升级到3.0的方法:
How to Upgrade Projects from XNA Game Studio Express to XNA Game Studio 3.0
Use one of the following procedures to upgrade a game project from XNA Game Studio Express to XNA Game Studio 3.0.
- Create a new XNA Game Studio 3.0 project, and then add the code and content from the XNA Game Studio Express project to the new XNA Game Studio project.
- Use the standalone upgrade wizard for XNA Game Studio 2.0 to upgrade the project from XNA Game Studio Express to XNA Game Studio 2.0, and then use the built-in upgrade wizard for XNA Game Studio to upgrade the project to XNA Game Studio 3.0. You will need XNA Game Studio 2.0 in order to use the standalone upgrade wizard. You can obtain the XNA Game Studio 2.0 and the standalone upgrade wizard at the following URLs.
Download |
Location |
|
XNA Game Studio 2.0 |
||
Standalone Upgrade Wizard |
Note that the XNA Framework evolved between XNA Game Studio Express and XNA Game Studio 2.0. Therefore, you probably will need to update your code to account for these changes. Please see the XNA Game Studio 2.0 Upgrade Guide for more information.
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.