Swashbuckle.AspNetCore: Swashbulcke 5 beta + .NET Core 3 Preview 3 - Error
‘Method not found: ‘Void Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware…ctor(Microsoft.AspNetCore.Http.RequestDelegate, Microsoft.AspNetCore.Hosting.IHostingEnvironment, Microsoft.Extensions.Options.IOptions`1<Microsoft.AspNetCore.Builder.StaticFileOptions>, Microsoft.Extensions.Logging.ILoggerFactory)’.’
This code worked fine with Preview 2. It throws on CreateHostBuilder in Program.cs.
It doesn’t happen unless the UseSwaggerUI call is enabled.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 13
- Comments: 15 (4 by maintainers)
Same problem on preview with version 4 of Swashbuckle.AspNetCore
https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/438 And it does not work…
UPD: Works on .NetCore 3.0.100-preview-010184