0

I have to create a CrmServiceClient object to perform crud operations on Crm Dynamics in a C# Lambda Function. I have this issue :

System.IO.FileNotFoundException: Could not load file or assembly 'System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Le fichier spécifié est introuvable. at Microsoft.Xrm.Tooling.Connector.CrmServiceClient.CreateCRMWebServiceConnection

I think it's related to the compatibilty of the Microsoft.CrmSdk.XrmToling.CoreAssembly API with my dotnet6 Lambda Function. Is there any other compatible Xrm Api Tool to use in my Lambda.

MAK
  • 1
  • 1
  • Note : I have a warning in Microsoft.CrmSdk.XrmToling.CoreAssembly (latest version 9.1.1.1) NuGet Package saying it's not completely compatible with my net6.0 Lambda Project. – MAK Sep 15 '22 at 06:41
  • Please provide enough code so others can better understand or reproduce the problem. – Community Sep 15 '22 at 10:51

1 Answers1

0

supported .net framework with Microsoft.CrmSdk.XrmToling.CoreAssembly is 4.6.2 you can use .netcore assembly for dynamics if you want

Announcing the .net Core SDK for Common Data Service (CDS) - External Client Development

AnkUser
  • 5,421
  • 2
  • 9
  • 25