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
If one uses dotnet tool to install Swashbuckle.AspNetCore.Cli and the actual project uses different version of Swashbuckle.AspNetCore.Swagger.dll (e.g. 6.5.0 vs 6.4.0) you will get error like
Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'Swashbuckle.AspNetCore.Swagger, Version=6.0.7.0, Culture=neutral, PublicKeyToken=62657d7474907593'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)
File name: 'Swashbuckle.AspNetCore.Swagger, Version=6.0.7.0, Culture=neutral, PublicKeyToken=62657d7474907593'
at Swashbuckle.AspNetCore.Cli.Program.<>c.<Main>b__0_3(IDictionary`2 namedArgs)
at Swashbuckle.AspNetCore.Cli.CommandRunner.Run(IEnumerable`1 args) in C:\projects\ahoy\src\Swashbuckle.AspNetCore.Cli\CommandRunner.cs:line 68
at Swashbuckle.AspNetCore.Cli.CommandRunner.Run(IEnumerable`1 args) in C:\projects\ahoy\src\Swashbuckle.AspNetCore.Cli\CommandRunner.cs:line 59
at Swashbuckle.AspNetCore.Cli.Program.Main(String[] args) in C:\projects\ahoy\src\Swashbuckle.AspNetCore.Cli\Program.cs:line 111
but it would be better to tell the use that there is a version mismatch.
So something like:
Swashbuckle.AspNetCore.Cli version 6.5.0 cannot process %path%/Swashbuckle.AspNetCore.Swagger.dll because it is based on version 6.4.0 and both versions must match!
The text was updated successfully, but these errors were encountered:
If one uses dotnet tool to install Swashbuckle.AspNetCore.Cli and the actual project uses different version of Swashbuckle.AspNetCore.Swagger.dll (e.g. 6.5.0 vs 6.4.0) you will get error like
but it would be better to tell the use that there is a version mismatch.
So something like:
The text was updated successfully, but these errors were encountered: