0

我想将我的游戏 (XNA 4.0) 从 WP 移植到 Zune HD,所以我下载了 Zune Extensions 安装程序。不幸的是,Zune App 只支持到 XNA 3.1,所以我下载了 XNA Game Studio 3.1 并安装它没有任何错误或问题。但是当我启动 Zune Extensions 安装程序时,它说应该先安装 XNA 3.1... -.-

为什么也安装了 4.0 时无法检测到 XNA 3.1?我不想卸载较新的版本,我只想开发一个Zune App!

必须有一种方法可以在同一台机器上为 WP 和 Zune HD 开发,但是如何?

干杯

4

2 回答 2

1

Okay, the devil was in the details...

Instead of installing XNA Game Studio 3.1, I took XNA Framework Redistributable (I don't know why it was on top of Google results)...

With the actual Game Studio 3.1 everything worked fine, i.e. "A-Type" was right:

VS2010 supports XNA 4.0 (exclusively) and VS2008 supports XNA 3.0/3.1 (exclusively).

Unfortunately, to convert a 4.0 Game to 3.1 (for Zune), I will have to create a new Project in VS08 and copy the original files into it by hand.

于 2012-02-12T16:40:34.143 回答
1

从我听到其他人的说法来看,这可能的,但请放心,这并不容易。到今天为止,我从来没有让它一起工作。我面临的主要问题是 WP7 开发工具的新版本。如果您正在运行特定技术的旧版本,它会让您先将其卸载。

我猜如果你倒着做,虽然你可能会跳过那个检查。您所要做的就是在 VS2010 中添加项目模板(为此,您可以在项目内部手动引用旧版本的 XNA)。

但...

我强烈建议不要使用 XNA 3.1,原因如下:

于 2012-02-10T17:59:34.527 回答