Install-Package: Failed to install WPtoolkit error package

Possible duplicate:
Adding the NuGet ndef library to a Windows Phone 8 project

When I try to install WPtoolkit, I get the following error ...

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 

Is there something I don't see? NuGet is also updating to the latest version ...

+6
source share
1 answer

A ha!

In the FAQ section ...

Q - I have the WP8 SDK and I installed the NuGet package, it still installs the 7.1 build version of the toolkit, or I get an error: "You are trying to install this package in a project designed for WindowsPhone, Version = v8.0 ', but the package does not contain references to assemblies that are compatible with this infrastructure.

 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. 

After that go to the xaml page type

+11
source

All Articles