However when I try to build the project on my Linux agent on Azure Pipelines, I'm getting the following error:
/home/azureuser/agent/_work/24/s/<project>/IntegrationTest.csproj(34,3): error MSB3073: The command "/home/azureuser/.nuget/packages/nswag.msbuild/14.0.8/buildTransitive/../tools/Net80/dotnet-nswag run nswag.json /variables:Configuration=Release" exited with code 127.
I can confirm that this folder and file exists on the agent:
However, when I try to execute these files (.exe or .dll), I'm getting the following errors:
I've setup NSwag MSBuild to run my
nswag.json
file according to the instructions here: https://github.com/RicoSuter/NSwag/wiki/NSwag.MSBuild This works great on Windows.However when I try to build the project on my Linux agent on Azure Pipelines, I'm getting the following error:
I can confirm that this folder and file exists on the agent:
However, when I try to execute these files (
.exe
or.dll
), I'm getting the following errors:Am I missing something?