简体   繁体   English

如何在Visual Studio 2013上使用Xna Content Compiler

[英]How to use Xna Content Compiler on visual studio 2013

I saw this solution here so I downloaded and tried to run but I've never used XNA and the website from the link doesn't have any instruction/documentation... 我在这里看到了此解决方案所以我下载并尝试运行,但是我从未使用过XNA,并且链接中的网站没有任何说明/文档...

Anyone who uses it have any suggestions? 使用它的人有什么建议吗?

(I don't have xna... I'm trying to use monogame) (我没有xna ...我正在尝试使用monogame)

Another rather classic solution is to install XNA framework included in Windows Phone SDK 7, create a separate XNA solution just for the purpose of building XNB files. 另一个相当经典的解决方案是安装Windows Phone SDK 7中包含的XNA框架,仅出于构建XNB文件的目的而创建单独的XNA解决方案。

To get XNA working on your computer (for VS2010 - VS2013) first download Windows Phone SDK 7 and 8 (both of them) from here: https://dev.windowsphone.com/en-us/downloadsdk 要使XNA在您的计算机上运行(针对VS2010-VS2013),请首先从此处下载Windows Phone SDK 7和8(两者): https ://dev.windowsphone.com/zh-cn/downloadsdk

And then you can install XNA implementation for VS2010 - VS2013 from here: https://msxna.codeplex.com/releases 然后您可以从此处安装VS2010-VS2013的XNA实现: https ://msxna.codeplex.com/releases

Once all is installed, just create a new XNA Game solution. 全部安装完毕后,只需创建一个新的XNA Game解决方案即可。 XNA will automatically create two projects for you, one of which is "Content" project, where you can place all your assets (pictures, sounds, fonts). XNA将自动为您创建两个项目,其中一个是“内容”项目,您可以在其中放置所有资产(图片,声音,字体)。 After compilation you will get your XNB files created. 编译后,您将创建XNB文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在Visual Studio 2013中命名内容页面 - How to Name Content Pages in Visual Studio 2013 如何在带有XNA的Visual Studio 2010中正确引用内容? - How do I properly reference Content in Visual Studio 2010 with XNA? 如何在SQLite和Visual Studio 2013中使用EF - How to use EF with SQLite and Visual Studio 2013 使用Roslyn编译器的变通办法,使Visual Studio 2013“了解” - Workaround with Roslyn compiler such that visual studio 2013 “understand” 如何在Visual Studio Web 2010 Express中将XNA内容管道添加到Silverlight 5? - How to add XNA Content Pipeline to Silverlight 5 in Visual Studio Web 2010 Express? 如何在Visual Studio 2013中使用MS Sync框架 - How to use MS Sync framework with visual studio 2013 如何强制Visual Studio使用.Net 2.0编译器? - How to force Visual Studio to use .Net 2.0 compiler? 如何在Visual Studio 2015中使用roslyn C#编译器? - How to use roslyn c# compiler with visual studio 2015? 安装Visual Studio 2015会更改VS 2013使用的编译器吗? - Would installing Visual Studio 2015 change the compiler used by VS 2013? 如何在 xna 游戏项目中使用 Visual Studio Designer? 这是可能的事情吗? - How do I use visual studio designer with xna game project? Is this a possible thing?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM