Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/visual-studio-2012/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Visual studio 2012 安装程序包:无法安装程序包WPtoolkit错误_Visual Studio 2012_Nuget_Windows Phone 8 - Fatal编程技术网

Visual studio 2012 安装程序包:无法安装程序包WPtoolkit错误

Visual studio 2012 安装程序包:无法安装程序包WPtoolkit错误,visual-studio-2012,nuget,windows-phone-8,Visual Studio 2012,Nuget,Windows Phone 8,可能重复: 在尝试安装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

可能重复:

在尝试安装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也更新到了最新版本…

哈哈

在常见问题部分

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页面类型,消息清楚地表明该库与WP8不兼容