0

I'm trying to write a script that updates certain nugets in a visual studio Solution. For that I'm using the Nuget CLI (https://learn.microsoft.com/en-us/nuget/reference/nuget-exe-cli-reference#restore)

According to the documentation I cam up with this:

Nuget update "mySolutionFile.sln" sources="https://pkgs...json"

But as a return I get:

Error: No projects found with a packages.config.

But when I do it via visual studio itself (Right Click on the solution \ manage nuget \ update) it shows all the available nuget packages and which I can update to a newer version. Even when I do a 'restore' via the command line it restores all 158 packages. But when I want to do an update suddendly it needs config files on a project level?

What am I missing here?

Hans Vader
  • 183
  • 10

0 Answers0