How to fix an error System.TypeLoadException: in an swagger api project ?

Mathis De Sousa 5 Reputation points
2024-10-11T08:15:59.3133333+00:00
System.TypeLoadException: Method 'get_LockReleaseBehavior' in type 'MySql.EntityFrameworkCore.Migrations.Internal.MySQLHistoryRepository' from assembly 'MySql.EntityFrameworkCore, Version=0.0.0.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' does not have an implementation.
Developer technologies | .NET | Entity Framework Core
Developer technologies | ASP.NET | ASP.NET Core
SQL Server | Other
{count} vote

1 answer

Sort by: Most helpful
  1. adam paquette 0 Reputation points
    2024-10-29T17:47:30.83+00:00

    I got the same thing after upgrading to .net 9 with Aspire.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.