在试图安装WPtoolkit时,我得到以下错误.
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也被更新为最新版本.
发布于 2012-12-28 19:30:25
哈哈!
在FAQ的部分..。
Q-我已经安装了WP8 SDK,我安装了NuGet包,它仍然在安装工具箱程序集的7.1版本,或者我收到了一个错误--“您试图将这个包安装到一个以'WindowsPhone,Version=v8.0‘为目标的项目中,但是这个包不包含任何与该框架兼容的程序集引用。”
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页面类型。
https://stackoverflow.com/questions/14070138
复制相似问题