Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSB3073 The command "nswag run ../ApiProject1/nswag.json /variables:Configuration=Debug" exited with code 9009 #4885

Open
SUFFI986 opened this issue May 9, 2024 · 0 comments

Comments

@SUFFI986
Copy link

SUFFI986 commented May 9, 2024

Severity Code Description Project File Line Suppression State
Error MSB3073 The command "nswag run ../ApiProject1/nswag.json /variables:Configuration=Debug" exited with code 9009. ApiClientProject C:\Users\Abdul Karim\ApiSolution\ApiClientProject\CustomBuild.targets 3

This is my nswag.json file
{
"swaggerGenerator": {
"fromSwaggerUrl": {
"url": "https://petstore3.swagger.io/api/v3/openapi.json",
"output": "../ApiClientProject/GeneratedClient1.cs"
}
},
"codeGenerators": {
"swaggerToCSharpClient": {
"namespace": "ApiClientProject.Clients",
"className": "ApiProject1Client",
"outputFilePath": "../ApiClientProject/ApiProject1Client.cs"
}
}
}

This is my CustomBuild.targets





I just test all 3 one by one
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant