No package version found - dotnet

  • Language:: CSharp
  • Type:: Back-end
  • Context:: restoring nuget packages
  • Description: While I was trying to get Azure Functions up and running, I ran into this problem, after installing the dotnet runtime, dotnet restore did not work, I had a suspicion that it had to do with the nuget source, but could not remember what to search for. Found a site with the below snippet, added it and it worked a treat.
  • Snippet
dotnet nuget add source --name nuget.org https://api.nuget.org/v3/index.json

📇Additional Metadata