Monogames无法添加SharpDx Dll

时间:2013-10-17 15:32:42

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

哟,

我一步一步地遵循这个tuto: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网站上的awnser。 我有WP8 Sdk,我正在使用完整版的Visual studio express 2012(在Windows 8上)

1 个答案:

答案 0 :(得分:1)

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