Skip to content

Instantly share code, notes, and snippets.

@rofr
Created February 28, 2013 10:40
Show Gist options
  • Save rofr/5055827 to your computer and use it in GitHub Desktop.
Save rofr/5055827 to your computer and use it in GitHub Desktop.
Validation Nuget package install fails on VS2012
PM> install-package validation
Successfully installed 'Validation 2.0.2.13022'.
Successfully uninstalled 'Validation 2.0.2.13022'.
Install failed. Rolling back...
Install-Package : Could not install package 'Validation 2.0.2.13022'. You are trying to install this package into a
project that targets '.NETFramework,Version=v4.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:16
+ install-package <<<< validation
+ CategoryInfo : NotSpecified: (:) [Install-Package], InvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment