Windows 8.1 AdControl for Universal Apps(手机和桌面)

时间:2014-09-03 17:04:28

标签: windows windows-phone-8

我在编写用于Windows Phone和桌面版本8.1的新通用应用程序时遇到以下错误:

    The SDK "MSAdvertisingXaml, Version=8.1" cannot be referenced alongside SDK(s) "MSAdvertisingXaml, Version=6.1", as they all belong to the same SDK product Family "Microsoft.Advertising". Please consider removing references to other SDKs of the same product family.

他们都使用相同的工具AdControl,当我构建应用程序的Windows Phone端时,它正在运行手机。一旦我将相同的控件放入应用程序的Windows桌面,我就会收到此错误。当我收到Google错误消息时,我无法返回任何内容。有什么问题???

1 个答案:

答案 0 :(得分:0)

在"解决方案资源管理器"中列表的顶部控制(MS Visual Studio - 我的版本是2013),寻找"参考文献"部分。只需删除6.1项,因为您需要最新版本的AdControl,它应该适用于通用应用程序的两面。