question

MichealPower-5690 avatar image
0 Votes"
MichealPower-5690 asked azure-cxp-api edited

AzureSignTool: command not found

Hi, I have a step in a simple yaml pipeline to install the Azure Sign Tool.
I installed AzureSignTool using:

    - task: DotNetCoreCLI@2
       inputs:
       command: 'custom'
       custom: 'tool'
       arguments: 'install azuresigntool --tool-path $($env:EF_BUILD_REPOSITORY_LOCALPATH) -v diag'
    displayName: Install AzureSignTool


It installs the SignTool @ /home/vsts/work/1/s But when I use the below step I get the error AzureSignTool: command not found What does this error mean??

   - task: CmdLine@2
     displayName: 'Sign outputted .exe with global AzureSignTool'
     inputs:
     script: AzureSignTool sign -du ......................

not-supported
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ryanchill avatar image
0 Votes"
ryanchill answered

Hi @MichealPower-5690,

Questions related to Azure DevOps are best asked over on https://developercommunity.visualstudio.com/search?space=21, I would suggest posting your question there. I did a brief search, and I'm not sure if https://developercommunity.visualstudio.com/t/VSTS-agent-unable-to-find-command/443937?space=21&q=command+not+found is like your issue but the error AzureSignTool: command not found sounds like path issue.

Regards,
Ryan





5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.