.net.net-corenugetnuget-packageaws-toolkit

dotnet publish “Unable to load the service index for source https://api.nuget.org/v3/index.json”


I am getting error :

Unable to load the service index for source https://api.nuget.org/v3/index.json

with dotnet publish

I am trying to deploy docker base asp.net core solution from visual studio 2017 with Amazon Tool Kit to AWS ECS.

I found several links but those do not work for me.

I tried by restarting docker service and Visual Studio also.


Solution

  • For me issue is with the corporate firewall.

    After spending hours on the issue it gets resolved.

    Before trying all other ways please try this first. This will save your time.