首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装-软件包:无法安装包WPtoolkit错误

安装-软件包:无法安装包WPtoolkit错误
EN

Stack Overflow用户
提问于 2012-12-28 13:17:11
回答 1查看 4.7K关注 0票数 6

可能重复: Adding NuGet ndef library to windows phone 8 project

在试图安装WPtoolkit时,我得到以下错误.

代码语言:javascript
复制
PM> Install-Package WPtoolkit
Successfully installed 'WPtoolkit 4.2012.10.30'.
Successfully uninstalled 'WPtoolkit 4.2012.10.30'.
Install failed. Rolling back...
Install-Package : Could not install package 'WPtoolkit 4.2012.10.30'. You are trying to install this package into a project that targets 'WindowsPhone,Version=v8.0', but the packag
e does not contain any assembly references that are compatible with that framework. For more information, contact the package author.
At line:1 char:1

我遗漏了什么吗?NuGet也被更新为最新版本.

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2012-12-28 19:30:25

哈哈!

在FAQ的部分..。

Q-我已经安装了WP8 SDK,我安装了NuGet包,它仍然在安装工具箱程序集的7.1版本,或者我收到了一个错误--“您试图将这个包安装到一个以'WindowsPhone,Version=v8.0‘为目标的项目中,但是这个包不包含任何与该框架兼容的程序集引用。”

代码语言:javascript
复制
A – You have an older version of NuGet. 
Install the latest NuGet from www.NuGet.org . Close and restart all the 
instances of Visual Studio. 
Now install the package. It will install correctly. 
WP8 projects are supported from Nuget 2.1 onwards.

之后,转到xaml页面类型。

票数 11
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/14070138

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档