如何安装XNA游戏工作室4.0在Windows 8? [英] How to install the XNA Game Studio 4.0 in Windows 8?

查看:274
本文介绍了如何安装XNA游戏工作室4.0在Windows 8?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这问题是相关的,但不是重复:的如何在Visual Studio中安装XNA游戏Studio 2012中?



我读了上面提到的文章,并得到了XNA项目开盘,但我现在有一个。问题



一些可参考的XNA框架都没有找到:

  Microsoft.Xna.Framework.Avatar 
Microsoft.Xna.Framework.GamerServices
Microsoft.Xna.Framework.Net
Microsoft.Xna.Framework.Storage
微软。 Xna.Framework.Video

和以 Microsoft.Xna.Framework所有引用。 Content.Pipeline



如果没有这些,我不能编译或运行,我所做的任何游戏。我无法找到包含这些DLL的,或者我应该把它们


解决方案

更新:2014年3月3日



使用的下载VS2012和VS2013在此链接: HTTPS://msxna.codeplex .COM /释放的。我没有合法性的想法在该项目(开发商似乎有反编译XNA),但它确实帮助我缓解需要VS2010,以便利用内容管道的痛苦。



旧答案



请参阅:的如何解决可能的XNA游戏工作室或Windows Phone SDK安装失败在Windows 8




如何要解决此问题



如果你遇到了这个问题,在这里,你可以用它来解决它的步骤:




  • 下载和安装该游戏的Windows的最新版本 - 从 http://www.xbox.com/en-US/LIVE/PC/DownloadClient

  • 如果您安装了Windows Phone SDK 7.1,重新运行安装程序并选择修理。这将重新运行先前失败的XNA Game Studio的安装程序,他们应该正确地安装这个时候。

  • 如果您是安装独立的XNA Game Studio产品,重新运行安装程序,它应该安装正确的这个时候。

  • 如果您打算做Windows Phone的开发,你也应该在安装了Windows Phone SDK 7.1后安装Windows Phone SDK 7.1.1更新。此更新解决了导致仿真器在Windows Phone SDK 7.1从Windows 8的正常工作的问题。







怎么做,如果解决方法不帮助



如果您已经尝试了上述步骤和设置仍然失败,你正在运行到一个不同的问题比上述之一,你将不得不看安装日志文件,以确定问题的根源。



如果您在安装了Windows Phone SDK 7.1,则可以使用日志收集工具收集您的安装日志文件。该日志收集工具将创建一个名为%TEMP%\vslogs.cab文件。



如果您正在安装的XNA Game Studio中,你可以找到在以下位置的日志文件




  • XNA游戏工作室4.0刷新 - %TEMP%\XNA游戏工作室4.0 Setup\Logs

  • XNA游戏工作室4.0 - %TEMP%\XNA游戏工作室4.0 Setup\Logs

  • XNA游戏工作室3.1 - %TEMP%\XNA游戏工作室3.1 Setup\Logs

  • XNA游戏工作室3.0 - %TEMP%\XNA游戏工作室3.0 Setup\Logs

  • XNA游戏工作室2.0 - 的%ProgramFiles%\微软XNA\XNA游戏Studio\v2.0\Setup\Logs







什么原因造成的幕后



XNA游戏工作室安装了一个版本的Windows游戏的背后失败 - LIVE幕后
可再发行。一些老版本的游戏
的Windows - LIVE可再发行尝试安装和使用正在由Windows 8安装文件
,和旧版本的
可再发行的是不兼容由Windows 8,
的Windows新版本的游戏安装文件
的新版本 - LIVE再分发与Windows兼容8,如果
你之前预安装新的可再发行安装的XNA Game
工作室,安装程序将认识到,它已经存在并使用新的
版本,而不是试图安装旧版本。



This question is related, but NOT a duplicate: How to install XNA game studio on Visual Studio 2012?

I read the above mentioned post, and have got xna projects opening, but I now have a problem.

Some of the references to the XNA framework aren't found:

Microsoft.Xna.Framework.Avatar
Microsoft.Xna.Framework.GamerServices
Microsoft.Xna.Framework.Net
Microsoft.Xna.Framework.Storage
Microsoft.Xna.Framework.Video

And all references to Microsoft.Xna.Framework.Content.Pipeline

Without these, I can't compile or run any games that I've made. I can't find the dll that contains these, or where I should put them.

解决方案

UPDATE: March 3, 2014

Use the download for VS2012 and VS2013 at this link: https://msxna.codeplex.com/releases. I have no idea of the legality on that project (the developers seem to have decompiled XNA), but it did help me ease the pain of needing VS2010 in order to utilize the content pipeline.

Old Answer

See: How to work around a possible XNA Game Studio or Windows Phone SDK install failure on Windows 8

How to work around this issue

If you run into this issue, here are steps that you can use to work around it:

  • Download and install the latest version of the Games for Windows – LIVE Redistributable from http://www.xbox.com/en-US/LIVE/PC/DownloadClient
  • If you are installing the Windows Phone SDK 7.1, re-run setup and choose to repair it. This will re-run the previously failing XNA Game Studio installers and they should install correctly this time.
  • If you are install a standalone XNA Game Studio product, re-run setup and it should install correctly this time.
  • If you are planning to do Windows Phone development, you should also install the Windows Phone SDK 7.1.1 Update after installing the Windows Phone SDK 7.1. This update fixes an issue that prevents the emulator in the Windows Phone SDK 7.1 from working correctly on Windows 8.

What to do if the workaround doesn’t help

If you have tried the above steps and setup still fails, you are running into a different issue than the one described above, and you will have to look at the setup log files to determine the root cause.

If you are installing the Windows Phone SDK 7.1, you can use the log collection tool to gather your setup log files. This log collection tool will create a file named %temp%\vslogs.cab.

If you are installing XNA Game Studio, you can find log files at the following locations:

  • XNA Game Studio 4.0 Refresh - %temp%\XNA Game Studio 4.0 Setup\Logs
  • XNA Game Studio 4.0 - %temp%\XNA Game Studio 4.0 Setup\Logs
  • XNA Game Studio 3.1 - %temp%\XNA Game Studio 3.1 Setup\Logs
  • XNA Game Studio 3.0 - %temp%\XNA Game Studio 3.0 Setup\Logs
  • XNA Game Studio 2.0 - %ProgramFiles%\Microsoft XNA\XNA Game Studio\v2.0\Setup\Logs

What is causing this failure behind the scenes

XNA Game Studio installs a version of the Games for Windows – LIVE Redistributable behind the scenes. Some older versions of the Games for Windows – LIVE Redistributable attempt to install and use a file that is being installed by Windows 8, and the older versions of the redistributable are not compatible with the newer version of the file that is installed by Windows 8. Newer versions of the Games for Windows – LIVE Redistributable are compatible with Windows 8, and if you pre-install the new redistributable before installing XNA Game Studio, setup will recognize that it is already there and use the new version instead of trying to install the old version.

这篇关于如何安装XNA游戏工作室4.0在Windows 8?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆