1

哟,

我一步一步地遵循这个教程:http: //developer.nokia.com/Community/Wiki/XNA_Games_On_Windows_Phone_8_with_Monogame

但仍然无法正常工作。错误信息:Warning 8 The referenced component 'SharpDX' could not be found. MonoGame.Framework.WindowsPhone

或者

警告 4 找不到引用的组件“SharpDX.WP8”。MonoGame.Framework.WindowsPhone

我推断缺少 SharpDx(很明显),但是当我尝试使用 Nuggetsmanagepacket 添加引用时;我有以下消息:

Installing 'SharpDX 2.5.0'.
Successfully installed 'SharpDX 2.5.0'.
Adding 'SharpDX 2.5.0' to MonoGame.Framework.WindowsPhone.
Uninstalling 'SharpDX 2.5.0'.
Successfully uninstalled 'SharpDX 2.5.0'.
Install failed. Rolling back...
Could not install package 'SharpDX 2.5.0'. You are trying to install this package into a project that targets 'WindowsPhone,Version=v8.0', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

关于什么问题的任何想法,Wiki_nokia 网站上没有遮阳篷。我有 WP8 Sdk,我正在使用完整版的 Visual Studio Express 2012(在 Windows 8 上)

4

1 回答 1

1

不幸的是,nuget 包不支持特定于平台的 SharpDX 构建。您需要手动添加所有引用。

于 2013-10-31T16:09:54.190 回答