我已经阅读了可能是可能的,但是当我从我的.NET Core类库引用SDK并尝试连接时,我收到以下错误:
System.IO.FileNotFoundException: 'Could not load file or assembly 'System.Web.Services..
看起来这个 DLL 在 .NET Core 中不受支持:如何在 Asp.net Core 中使用 SOAP Web 服务?
我的代码是这样的:
new Microsoft.Xrm.Tooling.Connector.CrmServiceClient(connectionString);
我可以成功地从 .NET Framework 项目中使其正常工作。