【问题标题】:vs2012 add reference and nuget errorvs2012添加引用和nuget报错
【发布时间】:2013-09-13 20:30:42
【问题描述】:

我是 Windows Phone 8 开发的新手。我需要添加一个库 imapx 才能在应用程序中使用 imap 协议。我想我错过了一些东西,因为我总是收到以下错误:

Install failed. Rolling back...
Could not install package 'ImapX 2.0.0.9'. 
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.

我创建了一个简单的项目,现在什么都不做,目标是 Windows Phone 8 手机。我正在使用 VS2012,我尝试使用 Nuget 安装它,或者添加对 .dll 的引用,没有工作。我安装了VS2012的update3,还是不行。

Nuget 包管理器是 2.7 版。我看过一些像this one 这样的帖子,还有一个人们说要更新包管理器的帖子,但我没有关于 Nuget 的更新。

感谢您的帮助。 希望我清楚...

奥德里克

【问题讨论】:

    标签: .net windows-phone-7 visual-studio-2012 windows-phone-8 windows-phone


    【解决方案1】:

    我是 ImapX 库的开发者,今天我发布了 ImapX 2.0.0.13,它现在支持 Windows Phone 7.1 和 8.0。您可以使用 Nuget 安装它或从 codeplex 下载它。

    最好的问候,

    帕维尔·阿扎诺夫

    【讨论】:

      猜你喜欢
      • 2014-11-08
      • 2013-02-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-12-26
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多