dotConnect for Salesforce on .NET Core throws exception related to AppDomain
Posted: Thu 23 Aug 2018 16:12
Hi, I'm trying dotConnect for Salesforce in an ASP.NET Core 2.1 application, with Entity Framework Core 2.1. I think I've managed to get around the licensing part and i have manually added missing dependencies (like System.Drawing). But when I try to open a connection I get the following exception, which does not seem very Core friendly...
Any ideas?
Code: Select all
System.MissingMethodException: Method not found: 'System.AppDomainSetup System.AppDomain.get_SetupInformation()'.
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.Salesforce.SalesforceConnection.Open()
at System.Data.Common.DbConnection.OpenAsync(CancellationToken cancellationToken)
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenDbConnectionAsync(Boolean errorsExpected, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenAsync(CancellationToken cancellationToken, Boolean errorsExpected)