gpt4 book ai didi

c# - 让 Monogame 内容管道与 Windows 8 中的 Visual Studio 2013 一起工作

转载 作者:太空狗 更新时间:2023-10-29 21:44:50 25 4
gpt4 key购买 nike

我已经在 VS 2013 中运行了 monogame,但我无法让内容管道运行。当我尝试导入现有内容管道项目时,出现以下错误。

Cant load content pipeline

而且我无法创建新项目,因为 2013 年未安装模板。

因为我运行的是 Windows 8,所以我无法安装 XNA(安装程序不再说它需要 Win 7 或 Vista)。在这里阅读:https://github.com/mono/MonoGame/wiki/MonoGame-Content-Processing似乎需要 XNA..?

编辑

Fex answer 获取安装在 VS 2013 中的模板,我可以创建一个新的 MonoGame windows 项目。但我仍然无法创建或打开内容项目,因为它们因此错误而崩溃

enter image description here

最佳答案

  1. 下载此 zip - 它包含埃里克·马蒂森 (Eric Mattison) 编写的脚本和一些其他内容。 Zip - sendspace link
  2. 提取 EricMattisonScript,阅读说明文件并按照说明执行操作。
  3. 解压MonoGame.zip到:我的文档文件夹/Visual studio 2013/Templates/Project templates/Visual C#/
  4. 将 XNA Game.zip Studio 解压到 $Location where your visual studio 2013 is installed$(在我的例子中是 D:/Program files (x86)/Microsoft Visual Studio 2013)/Common7/IDE/Extensions
  5. 在具有管理员权限的命令行中启动“devenv.exe/Setup”(它在 IDE 目录中)

不确定它是否可以在您的电脑上运行 - 在我的情况下它可以运行。

编辑: edited script - 试试这个编辑过的脚本,确保你在同一个文件夹中有 XNAGS40_setup 并且你以管理员权限运行它

关于c# - 让 Monogame 内容管道与 Windows 8 中的 Visual Studio 2013 一起工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20903903/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com