简体   繁体   English

vs2012添加参考和nuget错误

[英]vs2012 add reference and nuget error

I'm new to Windows Phone 8 development. 我是Windows Phone 8开发的新手。 I need to add a library which is imapx to use imap protocol in an app. 我需要添加一个imapx库才能在应用程序中使用imap协议。 I think there is something I missed, because I always got an error which is the following : 我认为我错过了一些东西,因为我总是遇到以下错误:

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.

I've created a simple project, doing nothing for now, targetting Windows Phone 8 phones. 我已经创建了一个简单的项目,现在针对Windows Phone 8手机不做任何事情。 I'm using VS2012, and I tried to install it with Nuget, or adding a reference to the .dll, nothink worked. 我正在使用VS2012,并且尝试通过Nuget进行安装,或者添加了对.dll的引用,但没有成功。 I installed the update3 of VS2012, but it not works too. 我安装了VS2012的update3,但它也不起作用。

Nuget Package Manager is version 2.7. Nuget软件包管理器是2.7版。 I've seen some post like this one and another where people say to update package manager, but I have no updates for Nuget. 我看到过类似这样的帖子,人们说要更新程序包管理器,但是我没有Nuget的更新。

Thanks for your help. 谢谢你的帮助。 Hope I'm clear... 希望我明白...

Audric 奥黛丽克

I'm the developer of the ImapX library, today I released ImapX 2.0.0.13, which now supports Windows Phone 7.1 and 8.0. 我是ImapX库的开发人员,今天发布了ImapX 2.0.0.13,它现在支持Windows Phone 7.1和8.0。 You can install it using Nuget or downloading it from codeplex . 您可以使用Nuget安装它,也可以从codeplex下载它。

Best regards, 最好的祝福,

Pavel Azanov 帕维尔·阿扎诺夫(Pavel Azanov)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM