I have .NET Framework 4.8 class library that uses Devart.Data.SQLite.EF6 provider (obtained via windows installer). It's was used for a couple of years in many .NET Framework 4.8 GUI applications.
Now we are moving forward to .NET 5.0 and creating some .NET 5.0 applications. But when I've tried to use .NET Framework 4.8 class library in .NET 5.0 WinForms application - I received an error:
Specific line of code that raises this exception is:Method not found: 'System.String System.AppDomainSetup.get_LicenseFile()'
Code: Select all
I cannot retarget class library from .NET Framework 4.8 to .NET 5.0 - there are lots of .NET Framework 4.8 applications that uses that class library.
I cannot use EF Core 5.0 instead of EF6.4.4 because it lacks Entity splitting support (it is used in our class library).
So how can I solve that problem?