'AzureSignTool.exe' is not recognized as an internal or external command
See original GitHub issueRequired Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?
Type: Bug
Enter Task Name: DotNetCoreCLI@2
Environment
-
Server - Azure Pipelines?
- https://dev.azure.com/netoffice/NetOffice/_build/results?buildId=867&view=logs&j=9eeabfde-0b68-5b48-1926-57b56b63f658&t=f675a0b0-bb7e-5e44-da2f-1025e4db31cf
- https://dev.azure.com/netoffice/NetOffice/_build/results?buildId=869&view=logs&j=9eeabfde-0b68-5b48-1926-57b56b63f658&t=f675a0b0-bb7e-5e44-da2f-1025e4db31cf
-
Agent - Hosted
Issue Description
I’m using DotNetCoreCLI@2 task to install azuresigntool
as global tool and I use it in a subsequent CmdLine@2 as AzureSignTool.exe
This worked fine for several builds over several days. Right now, the command line task fails because the tool AzureSignTool.exe
does not exists.
I noticed in the latest build this new line from the DotNetCoreCLI@2 task:
Since you just installed the .NET Core SDK, you will need to reopen the Command Prompt window before running the tool you installed.
Task logs
Successful build: https://dev.azure.com/netoffice/NetOffice/_build/results?buildId=867&view=logs&j=9eeabfde-0b68-5b48-1926-57b56b63f658&t=f675a0b0-bb7e-5e44-da2f-1025e4db31cf
You can invoke the tool using the following command: azuresigntool
Since you just installed the .NET Core SDK, you will need to reopen the Command Prompt window before running the tool you installed.
I would expect that I can use the tool I install from one task in the subsequent task.
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (4 by maintainers)
I am running into this exact same issue today…
Use the update command instead of install. It sounds weird, but it works.🎉
dotnet tool update --global AzureSignTool