Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"packages" error when doing update-package in vs 2015

When i run the command

Update-Package <packagename> -version <packageversion> -IgnoreDependencies -IncludePreRelease -FileConflictAction Overwrite

I get the error

Attempting to gather dependency information for multiple packages with respect to project 'someproject', targeting '.NETFramework,Version=v4.6.1'
Attempting to resolve dependencies for multiple packages.
Resolving actions install multiple packages
Update-Package : packages
At line:1 char:15
+ Update-Package <<<<  <packagename> -version <packageversion> -IgnoreDependencies -IncludePreRelease -FileConflictAction Overwrite
    + CategoryInfo          : NotSpecified: (:) [Update-Package], Exception
    + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.UpdatePackageCommand

What does Update-Package : packages mean?

I am working in visual studio 2015 with nuget package manager 3.4.4

like image 858
Jay Jay Jay Avatar asked Nov 08 '22 10:11

Jay Jay Jay


1 Answers

There is a problem #1996 in NuGet which happens during package update. Seems your packages message problem is the other reincarnation of this known problem.

According to the NuGet sources something wrong with PackageIdentity.

like image 169
Nikita Avatar answered Jan 04 '23 01:01

Nikita