Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

Cannot install a specific version of dotnet tool in Azure DevOps pipeline

$
0
0

I am trying to install a version of a dotnet tool and it works for older versions but for the latest version, for some reason, it just won't install

dotnet new tool-manifestdotnet tool install foo --version 2.0.0 // this doesn't workdotnet tool install foo --version 1.1.1 // this works, same feed both hosted on Azure DevOps Artifacts

The same nuget.config file is present in the repo. The only difference is the version number. I can confirm both versions exist on our Artifacts.

error NU1301: Unable to load the service index for source '...'The tool package couild not be restored.Tool 'foo' failed to install. This failure may have been caused by:* You are attempting to install a preview release and did not use the --version option to specify the version.* A package by this name was found, but it was not a .NET Core tool.* The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem.* You mistyped the name of the tool.

Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>