Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

restore nuget package conflict

$
0
0

In VS2019, in the Package Manager Console, I start to update all packages of my solution with update-package, but it stops at;

update-package : Unable to find package'System.Management.Automation_PowerShell_3.0'. Existing packages mustbe restored before performing an install or update. At line:1 char:1

  • update-package
  • CategoryInfo : NotSpecified: (:) [Update-Package], Exception
  • FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.UpdatePackageCommand

So I right click on my solution and ask to restore nuget packages but then, I have a contradictory piece of information.

All packages are already installed and there is nothing to restore.Time Elapsed: 00:00:00.0759442========== Finished ==========

When I manage solution nuget packages (right click on solution, manage nuget packages for solution), in the updates tabitem, I select all packages and ask for update, I have a:

Severity Code Description Project File Line Suppression StateError Object reference not set to an instance of an object.

Which is not related to my code (build succeeds).

How to proceed ?


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>