Monogames 不能添加 SharpDx Dll

本文关键字:Dll SharpDx 添加 不能 Monogames | 更新日期: 2023-09-27 18:36:00

Yo,

我已经一步一步地遵循了这个图托: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上)

Monogames 不能添加 SharpDx Dll

不幸的是,

nuget 包不支持特定于平台的 SharpDX 版本。您需要手动添加所有引用。