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’ll learn about the Win32 Error “0x000019E5 – ERROR_COULD_NOT_RESIZE_LOG” that you get when debugging system erors in...
In this post, you’ll learn about the error “CO_E_DBERROR 0x8004E02B” that is returned when working with COM based APIs or...
In this post, you’ll learn about the Win32 Error “0x000019D0 – ERROR_LOG_BLOCK_VERSION” that you get when debugging system erors in...