RicoSuter / NSwag

The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.
http://NSwag.org
MIT License
6.61k stars 1.22k forks source link

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

Open SUFFI986 opened 1 month ago

SUFFI986 commented 1 month ago

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