Nuget Errors that don't tell me anything

Jun 16, 2011 at 1:30 PM

C:\Projects\appPM> update-package Client.MVC3
Updating Client.MVC3 in all referenced projects
Successfully installed 'Client.MVC3 1.0.4'.
Successfully removed 'Client.MVC3 1.0.3' from Admin.
Successfully added 'Client.MVC3 1.0.4' to Admin.

Update-Package : No compatible project(s) found in the active solution.
At C:\Projects\app\packages\NuGetPackageUpdater.\tools\NuGetPackageUpgrader.psm1:45 char:10
+         & <<<<  $upNormal $package.Id -Project:$project.Name
    + CategoryInfo          : InvalidOperation: (:) [Update-Package], InvalidOperationException
    + FullyQualifiedErrorId : NuGetNoCompatibleProjects,NuGet.PowerShell.Commands.UpdatePackageCommand

First this error doesn't even make sense. Past that, instead of it really not having any compatible project it blew up on updating the package in a specific project (I only have this in 2 projects so I know which one, but why doesn't it echo the project back?). Why does this happen? I'm not really sure seeing as this is all the information i get.

Mar 10, 2012 at 12:09 AM

Did you ever solve this? I am suddenly having the same problem. Restarting Visual Studio hasn't helped. I am still able to install packages via the Package Manager GUI, but I need to install an older version of a package, which the GUI won't allow.