嘿,
我已经一步一步地学习了这个教程: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软件开发工具包,并且我使用的是完整版的Visual studio express 2012 (在Windows8上)
发布于 2013-11-01 00:09:54
不幸的是,nuget打包了特定于don't support平台的SharpDX版本。您需要手动添加所有引用。
https://stackoverflow.com/questions/19431038
复制相似问题