Page 1 of 1

.NET Core 3.1 support

Posted: Mon 23 Dec 2019 19:50
by ENRIQUEHIN
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.

Re: .NET Core 3.1 support

Posted: Tue 24 Dec 2019 15:23
by ENRIQUEHIN
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.

Re: .NET Core 3.1 support

Posted: Tue 24 Dec 2019 15:28
by Shalex
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/.

Re: .NET Core 3.1 support

Posted: Wed 26 Feb 2020 17:50
by zsery
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.

Re: .NET Core 3.1 support

Posted: Thu 27 Feb 2020 12:41
by Shalex
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.

Re: .NET Core 3.1 support

Posted: Thu 22 Oct 2020 19:45
by andrestoro
I am having the same issue with the salesforce driver in .net core.

Does anybody know if is there a Nuget package for Salesforce as with oracle?

I am getting exactly this error:

Code: Select all

Method not found: 'System.String System.AppDomainSetup.get_LicenseFile()'.
Thanks in advance

Re: .NET Core 3.1 support

Posted: Fri 23 Oct 2020 09:35
by Shalex
andrestoro wrote: Thu 22 Oct 2020 19:45 I am having the same issue with the salesforce driver in .net core.

Does anybody know if is there a Nuget package for Salesforce as with oracle?
.NET Frameworks 4.0, 4.5, 4.6, 4.7, and 4.8 are the only frameworks supported by dotConnect for Salesforce: https://www.devart.com/dotconnect/sales ... ility.html.

.NET Core is not supported by this provider. There is no timeframe for the .NET Standard (.NET Core) feature in dotConnect for Salesforce at the moment. We will notify you about the progress.