-
Notifications
You must be signed in to change notification settings - Fork 741
Open
Description
Before filling a bug
- have you checked the faq for known issues.
- have you checked existing issues
Describe the bug
I am building the project in visual studio using BuildClientSdks/X64 and I am getting the below error:
The command "AutoRest --version=3.8.4 --use:@autorest/csharp@3.0.0-beta.20210210.4 --input-file=....\Library\Shared\Swagger\V1\InvestigationService.json --csharp --output-folder=....\Library\Shared\AWB.Services.Investigation --namespace=Microsoft.Sonar.AWB.Services.Investigation --public-clients=true --skip-csproj=true --azure-arm=true --eol=lf" exited with code 9009.
This is how its defined in the proj:
<Target Name="GenerateServiceClient" DependsOnTargets="GenerateOpenAPIDocument" AfterTargets="PostBuildEvent" Condition="$(DefineConstants.Contains('GENERATE_CLIENT'))">
<Exec Command="AutoRest --version=3.8.4 --use:@autorest/csharp@3.0.0-beta.20210210.4 --input-file=..\..\Library\Shared\Swagger\V1\InvestigationService.json --csharp --output-folder=..\..\Library\Shared\AWB.Services.Investigation --namespace=Microsoft.Sonar.AWB.Services.Investigation --public-clients=true --skip-csproj=true --azure-arm=true --eol=lf" />
<Exec Command="AutoRest --version=3.8.4 --use:@autorest/typescript@6.0.0-rc.3 --input-file=..\..\Library\Shared\Swagger\V1\InvestigationService.json --typescript --output-folder=..\..\Library\Shared\TypeScript --override-client-name=InvestigationServiceClient" />
</Target>
Please provide as much information as you can. This would be:
- OpenAPI files having the issues
- Autorest command used
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
No labels