'Method not found: 'Void Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware..ctor(Microsoft.AspNetCore.Http.RequestDelegate, Microsoft.AspNetCore.Hosting.IHostingEnvironment, Microsoft.Extensions.Options.IOptions`1
This code worked fine with Preview 2. It throws on CreateHostBuilder in Program.cs.
It doesn't happen unless the UseSwaggerUI call is enabled.
Same problem on preview with version 4 of Swashbuckle.AspNetCore
I'm having the same issue
I have the same issue any workarounds?
Same issue here
https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/438
And it does not work...
UPD: Works on .NetCore 3.0.100-preview-010184
Direct reference to Microsoft.AspNetCore.StaticFiles 2.0.0 doesn't solve the issue. Any workaround?
This is a dup of #1030. In summary, there's breaking changes in ASP.NET Core 3.0 which need to be accounted for in SB. There's a PR in the works - #1061
@domaindrivendev, #1030 is about JsonResult. This issue is about StaticFiles dependency. Are these issues connected?
They all fall under the general issue of incompatibility with ASP.NET Core 3.0 preview. We know this doesn’t work right now so would like to focus on one issue to get it working, then focus on more specific issue with 3.0 afterwards
Still breaks for me...
Same here.. 5.0.0-rc3
Looks like it was fixed in version 5.0.0-rc4

i have updated the below things from stable version 4.0.1
Swashbuckle.AspNetCore rc4
Swashbuckle.AspNetCore.Swagger rc4
Swashbuckle.AspNetCore.SwaggerUI rc4
still i'm facing the issue while running the application. all the dll's are skipping loading symbols.
any solution please let me know.
Same for me.
Do you have a solution?
No @ranouf.
after deploying to Azure it is giving the error like
“failed to load coreclr. Exception message:
Managed server didn't initialize after 120000 ms”
and “500.37 ANCM Failed to Start Within Startup Time Limit”
I'm not finding the proper solution.
Most helpful comment
Same problem on preview with version 4 of Swashbuckle.AspNetCore