vs2012添加引用和nuget错误

时间:2013-09-13 20:30:43

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

我是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的引用,nothink工作。我安装了VS2012的update3,但它也不行。

Nuget Package Manager是2.7版。我见过一些像this one这样的帖子和另一个人们说更新包管理器的帖子,但我没有Nuget的更新。

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

Audric

1 个答案:

答案 0 :(得分:0)

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

致以最诚挚的问候,

帕维尔·阿扎诺夫