Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 507 Bytes

Troubleshooting.md

File metadata and controls

15 lines (11 loc) · 507 Bytes

Troubleshooting

Build errors

dotnet restore

Error

dotnet restore might throw the following error when building in Release configuration:

Unable to load the service index for source https://api.nuget.org/v3/index.json.
An error occurred while sending the request.
Couldn't resolve host name

This error is caused by the Docker VM (specifically the networking), which prevents the VM from resolving the api.nuget.org-URL.

Solution

Restart the Docker for Windows-VM.