mirror of
https://github.com/quamotion/dotnet-packaging.git
synced 2026-02-14 21:32:52 +00:00
Feature Request - docs - Add instructions to get this working in Azure DevOps #84
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alexmarshall132 on GitHub (Jul 28, 2020).
Using the current instructions for
dotnet tool installdoes not work on Azure DevOps due to an unknown error. Can you please provide instructions that will work for using this tool with Azure DevOps pipelines ?@joncloud commented on GitHub (Sep 2, 2020):
I was able to get the tool to work in Azure DevOps by using the following script block (on
ubuntu-latest):I think the core problem is that by default the dotnet tools path is not included on the image, and does not have to do with this tool itself. I found microsoft/azure-pipelines-task #12548, which is a similar problem with a different tool. I ran a test based on the issue's feedback, and it was also successful. For example see the following steps in the pipeline:
@alexmarshall132 commented on GitHub (Sep 3, 2020):
Thank you for responding @joncloud . Unfortunately for whatever reason doing a global install always fails for my organization's build machine images. After a lot of experimenting, I found that I had to create a tool manifest for my projects and then do a local tool install for the project. Here's what worked for me: