Repository navigation
Could not load type 'Swashbuckle.AspNetCore.Swagger.Info' from assembly 'Swashbuckle.AspNetCore.Swagger' #3199
Replies: 1 comment 2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I am trying to migrate the Core WebApi project from .Net core 2.1 to .Net 8.0. As we do usually, I tried to add packages from NuGet. To solve errors, I installed Swashbuckle,Swashbuckle.AspNetCore,Swashbuckle.AspNetCore.SwaggerGen,Swashbuckle.AspNetCore.SwaggerUI,Swashbuckle.AspNetCore.Filters.
Now I am getting this error -
TypeLoadException: Could not load type 'Swashbuckle.AspNetCore.Swagger.Info' from assembly 'Swashbuckle.AspNetCore.Swagger, Version=7.2.0.0, Culture=neutral, PublicKeyToken=62657d7474907593'.
Please share your ideas to solve this error
All reactions