无法为WP8构建Monogame应用程序的发布版本 [英] Having trouble building release version of Monogame app for WP8

查看:90
本文介绍了无法为WP8构建Monogame应用程序的发布版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用VS 2012更新4和MonoGame 3.3。



我的游戏在调试模式下编译,构建和运行模拟器。当我将编译器配置切换到Release for Any CPU时,我收到错误消息'名称空间名称'Xna'在命名空间'Microsoft'中不存在(你是否缺少程序集引用?)

I'm using VS 2012 update 4 and MonoGame 3.3.

My game compiles, builds and runs on the emulators in debug mode. When I switch the compiler configuration to Release for Any CPU, I get error messages 'The type or namespace name 'Xna' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

推荐答案

不幸的是,MonoGame的WP8版本不支持任何CPU,所以你必须在x86之间来回切换(用于在

模拟器中运行)和ARM(用于在真实设备上运行,以及发布到商店)。



也找到了这个链接



http://forum.unity3d.com/threads/solved-store-test-kit-error.261000/ [ ^ ]



不幸,但看起来我只需要跳过自动化测试。这看起来有点奇怪,因为这些东西在VS Express for WP7下运行得很好。
Unfortunately the WP8 version of MonoGame doesn't support "Any CPU", so you have to switch back and forth between x86 (for running in the
emulator) and ARM (for running on a real device, and for publishing to the store).

Also found this link

http://forum.unity3d.com/threads/solved-store-test-kit-error.261000/[^]

Unfortunate, but it looks like I just need to skip over the automated tests. This seems a little strange since this stuff worked just fine under VS Express for WP7.


这篇关于无法为WP8构建Monogame应用程序的发布版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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