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

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

You May Also Like

This blog post will guide you through several effective methods to troubleshoot and resolve the issue of Microsoft Edge not...
Windows 11 offers a range of audio enhancements that can enrich your listening experience. These enhancements include features like virtual...
Windows 11 brings a fresh and visually stunning design to your desktop, and one of the standout features is the...