dotnet tool/workload installation fails, because of custom NuGet sources

If you are facing this issue when using dotnet’s workload install, or tool install:

Workload installation failed: Unable to load the service index for source https://pkgs.dev.azure.com/SourceNAME/_packaging/ProjectName/nuget/v3/index.json.

Then you probably should invoke the command with the following parameter:

--ignore-failed-sources

Hope this helps 😉

This content has 2 years. Some of the information in this post may be out of date or no longer work. Please, read this page keeping its age in your mind.