Method not found: 'Swashbuckle.Application.SwaggerEnabledConfiguration

See original GitHub issue

When i am deploying on server below exception is coming Method not found: ‘Swashbuckle.Application.SwaggerEnabledConfiguration Swashbuckle.Application.HttpConfigurationExtensions.EnableSwagger(System.Web.Http.HttpConfiguration, System.Action`1<Swashbuckle.Application.SwaggerDocsConfig>)’.

Meanwhile it is working good in local IIS.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6

github_iconTop GitHub Comments

6reactions
MeltdownInteractivecommented, Dec 5, 2018

I fixed this on my local IIS by adding a binding redirect for System.Net.Http in web.config. Just make sure the 4.2.0.0 below matches the version of the DLL in your references folder.

<dependentAssembly>
        <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
        <bindingRedirect oldVersion="0.0.0.0-4.2.0.0" newVersion="4.2.0.0"/>
</dependentAssembly>
1reaction
bootv2commented, Mar 14, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

Untouched code suddenly throws Method not found: 'Void ...
Untouched code suddenly throws Method not found: 'Void Swashbuckle.Application.SwaggerDocsConfig.RootUrl' on startup.
Read more >
Headless API Swashbuckle - Questions
When i am deploying on server below exception is coming Method not found: 'Swashbuckle.Application.SwaggerEnabledConfiguration Swashbuckle.
Read more >
Fixing the Eco Webserver Swashbuckle error
Method not found : Swashbuckle.Application.SwaggerEnabledConfiguration Swashbuckle.Application.HttpConfigurationExtensions.
Read more >
Developers - Method not found: 'Swashbuckle.Application. ...
When i am deploying on server below exception is coming. Method not found: 'Swashbuckle.Application.SwaggerEnabledConfiguration Swashbuckle.
Read more >
How to Setup Swagger in Web API ASP.NET ...
I did a little research and I came across Swashbuckle which makes adding Swagger UI into your asp.net Web API project a no...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found