Error – You are trying to install this package does not contain any assembly references that are compatible with that framework

When trying to install the Windows Phone toolkit via NuGet Manager in Microsoft Visual Studio 2012, you might receive the following error.

“Install-Package : Could not install package ‘WPtoolkit 4.2013.08.16’. 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 that are compatible with that framework. For more information,

contact the package author.

At line:1 char:1

+ Install-Package WPtoolkit

+ ~~~~~~~~~~~~~~~~~~~~~~~~~

+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException

+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand”

Error - You are trying to install this package does not contain any assembly references that are compatible with that framework

The reason for this error is that you might be having an older version of NuGet installed. Just download the latest version of NuGet Package Manager from Visual Studio Gallery and install it.

Error - You are trying to install this package does not contain any assembly references that are compatible with that framework

Restart the Visual Studio and then try the installation. You should get the Windows Phone toolkit installed 🙂

    1 Comment

  1. Tom
    January 28, 2020
    Reply

    Would be nice to leave instructions on how to install what they give you. When you download that new NuGet Package Manager, there’s no .msi or whatever. How would you reference it from within VS?

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

In this post, you will learn about sync provider notifications in Windows 11 and how to disable or enable it...
In this tutorial, let’s learn how to enable or disable the startup sound in Windows 11. By default, when Windows...
The CameraCaptureTask allows the Windows Phone 7 App to launch the Camera Application . This will be useful when the...