What is nuget restore doing?

Ever wonder what nuget or dotnet restore is doing? What feeds it using? Or what nuget.config it is using to find feeds? Turns out you can find out what nuget-related information dotnet restore by looking at the logs. Generally, dotnet restore is succinct. Restoring a HelloWorld project gives us little information about what’s going on: $ dotnet new console --no-restore The template "Console Application" was created successfully. $ dotnet restore Restore completed in 72.1 ms for /home/omajid/cliche/dotnet/HelloWorld/HelloWorld.csproj. If we add a nuget.config file, we still see little information. Not even enough to know if it’s even being used: ...

May 29, 2020 · Omair Majid