You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I run this command:
dotnet "C:\Users\XXX.nuget\packages\nswag.msbuild\14.0.7\buildTransitive../tools/Net80/dotnet-nswag.dll" run nswag.json /variables:Configuration=IncludeClient
Error:
---> System.InvalidOperationException: NSwag requires the assembly XXX.Api, Version=XXX, Culture=neutral, PublicKeyToken=null to have either an BuildWebHost or CreateWebHostBuilder/CreateHostBuilder method
Version used
14.0.7
To Reproduce
It only fails on the build server
Expected behavior
Generated client
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
I run this command:
dotnet "C:\Users\XXX.nuget\packages\nswag.msbuild\14.0.7\buildTransitive../tools/Net80/dotnet-nswag.dll" run nswag.json /variables:Configuration=IncludeClient
Error:
---> System.InvalidOperationException: NSwag requires the assembly XXX.Api, Version=XXX, Culture=neutral, PublicKeyToken=null to have either an BuildWebHost or CreateWebHostBuilder/CreateHostBuilder method
Version used
14.0.7
To Reproduce
It only fails on the build server
Expected behavior
Generated client
Additional context
The text was updated successfully, but these errors were encountered: