【问题标题】:Monogames can't add SharpDx DllMonogames无法添加SharpDx Dll
【发布时间】:2013-10-17 15:32:41
【问题描述】:

哟,

我已经按照这个教程一步一步来了: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 上)

【问题讨论】:

    标签: c# dll windows-phone-8 sharpdx


    【解决方案1】:

    不幸的是 nuget 软件包 don't support SharpDX 的平台特定版本。您需要手动添加所有引用。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2011-03-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-08-21
      • 1970-01-01
      • 2017-06-26
      相关资源
      最近更新 更多