.NET Core 3.1 support

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
ENRIQUEHIN
Posts: 9
Joined: Tue 09 Dec 2014 16:04

.NET Core 3.1 support

Post by ENRIQUEHIN » Mon 23 Dec 2019 19:50

Is .Net Core 3.1 supported?
I am testing an ASP.NET Core application with .Net Core 3.1 and I am getting the following error:

AggregateException: One or more errors occurred. (Method not found: 'System.String System.AppDomainSetup.get_LicenseFile()'.)
System.Threading.Tasks.Task.ThrowIfExceptional(bool includeTaskCanceledExceptions)

MissingMethodException: Method not found: 'System.String System.AppDomainSetup.get_LicenseFile()'.
Devart.Common.CRLicenseProvider.a(LicenseContext A_0, Type A_1, out string A_2, out string A_3, out string A_4)


(I cannot access the documentation section. I already reported a missing link. I get a 404.)

Best regards.

ENRIQUEHIN
Posts: 9
Joined: Tue 09 Dec 2014 16:04

Re: .NET Core 3.1 support

Post by ENRIQUEHIN » Tue 24 Dec 2019 15:23

Hi,

I guess I found my mistake.
I will perform more tests to make sure I solved this issue and will post the answer shortly.

Best regards.

Shalex
Site Admin
Posts: 9106
Joined: Thu 14 Aug 2008 12:44

Re: .NET Core 3.1 support

Post by Shalex » Tue 24 Dec 2019 15:28

Target framework of your project is .NET Core 3.1, isn't it? In this case, you should use Devart.* assemblies downloaded from NuGet via Nuget Package Manager. E.g.: https://www.nuget.org/packages/Devart.D ... le.EFCore/.

zsery
Posts: 1
Joined: Wed 26 Feb 2020 17:46

Re: .NET Core 3.1 support

Post by zsery » Wed 26 Feb 2020 17:50

I have the similar problem.
.net Core 3.1, SqlLite, NHibernate ORM
There is the exception message:

Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]
An unhandled exception has occurred while executing the request.
System.MissingMethodException: Method not found: 'System.String System.AppDomainSetup.get_LicenseFile()'.
at Devart.Common.CRLicenseProvider.a(LicenseContext A_0, Type A_1, String& A_2, String& A_3, String& A_4)
at Devart.Common.CRLicenseProvider.a(LicenseContext A_0, Type A_1, String& A_2, Boolean& A_3, String& A_4, String& A_5)
at Devart.Common.CRLicenseProvider.a(LicenseContext A_0, Type A_1, Boolean A_2)
at Devart.Common.CRLicenseProvider.a(LicenseContext A_0, Type A_1, Object A_2, Boolean A_3)
at Devart.Data.SQLite.SQLiteConnection.Open()

Thanks for any help.

Shalex
Site Admin
Posts: 9106
Joined: Thu 14 Aug 2008 12:44

Re: .NET Core 3.1 support

Post by Shalex » Thu 27 Feb 2020 12:41

zsery wrote:
Wed 26 Feb 2020 17:50
I have the similar problem.
.net Core 3.1, SqlLite, NHibernate ORM
There is the exception message:

Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]
An unhandled exception has occurred while executing the request.
System.MissingMethodException: Method not found: 'System.String System.AppDomainSetup.get_LicenseFile()'.
at Devart.Common.CRLicenseProvider.a(LicenseContext A_0, Type A_1, String& A_2, String& A_3, String& A_4)
at Devart.Common.CRLicenseProvider.a(LicenseContext A_0, Type A_1, String& A_2, Boolean& A_3, String& A_4, String& A_5)
at Devart.Common.CRLicenseProvider.a(LicenseContext A_0, Type A_1, Boolean A_2)
at Devart.Common.CRLicenseProvider.a(LicenseContext A_0, Type A_1, Object A_2, Boolean A_3)
at Devart.Data.SQLite.SQLiteConnection.Open()

Thanks for any help.
You should use Devart.* assemblies downloaded from NuGet via Nuget Package Manager: https://www.nuget.org/packages/devart.data.sqlite. Check the paths of Devart.* assemblies loaded in the process of your application in the debug mode via Visual Studio > Debug > Windows > Modules. If this doesn't help, send us a small test project for reproducing the error.

Post Reply