RicoSuter / NSwag

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

NSwag Studio runtime .Net[x] missing dotnet-nswag.dll file #3799

Open BobInstallaties opened 2 years ago

BobInstallaties commented 2 years ago

Just updated NSwag studio to 13.15.5.0 When trying to generate an c# Client this error message pops up. After investigating the file location, the dotnet-nswag.dll is indeed missing...

image

Runtimes Any .NET (6, 5, 3.1, 2.1) fails with message shown above. Runtimes Default, WinX64 and WinX86 succeeds. Runtime Debug -> no exception message, no client generation (don't know if this is desired behaviour).

timb01337 commented 2 years ago

got the same problem after updating to 13.15.5.0 on my windows 11 client

image

RicoSuter commented 2 years ago

Can you try to uninstall it completely (in Windows) and reinstall it? I think it's a problem with the update/upgrade...

BobInstallaties commented 2 years ago

@RicoSuter After clean installing, uninstall then reinstall, NSwag Studio, the problem was resolved. The problem was introduced with the Update/Upgrade from previous version to 13.15.5.0

SquidPony commented 2 years ago

Had the same problem with update on Win10, glad to see there's a workaround. (Any way to add the workaround to the upgrade message?)