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"
}
}
}
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