Nuget connection attempt failed “Unable to load the service index for source” Asp.net Deleting %AppData%\Roaming\NuGet\NuGet.Config or restarting VS2019 worked for me.