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

nswag.msbuild with custom build configuration not working #4909

Open japeka opened 3 weeks ago

japeka commented 3 weeks ago

I am using nswag.msbuild of version 14.0.7 as part of web api .NET8 project. In it I would like to generate code based on controller's endpoints. There are no problems with rebuild and Debug options, but as soon as I set up a new custom build configuration called NSWAG and try to use that, I end up of getting no valid code generation. Wondering why this is the case and if there are workaround solutions for this?