0

我正在使用 ILMerge 合并“Kusto.Data”、“Kusto.Cloud.Platform”和我的 CRM 工作流程序集。但是,每次构建解决方案时,我都会遇到错误。

error : Unresolved assembly reference not allowed: Microsoft.WindowsAzure.Security.Authentication.

正在运行的 ILMerge 命令如下:

    Merged assemblies: 
C:\Users\antond\source\repos\ConsoleApp2\ConsoleApp2\obj\Debug\ConsoleApp2.exe;
C:\Users\antond\source\repos\ConsoleApp2\packages\Microsoft.Azure.Kusto.Cloud.Platform.8.1.5\lib\net462\Kusto.Cloud.Platform.dll;
C:\Users\antond\source\repos\ConsoleApp2\packages\Microsoft.Azure.Kusto.Data.8.1.5\lib\net462\Kusto.Data.dll;
C:\Users\antond\source\repos\ConsoleApp2\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.5.2.7\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.dll;
C:\Users\antond\source\repos\ConsoleApp2\packages\Microsoft.IO.RecyclableMemoryStream.1.2.2\lib\net45\Microsoft.IO.RecyclableMemoryStream.dll;
C:\Users\antond\source\repos\ConsoleApp2\packages\Newtonsoft.Json.12.0.2\lib\net45\Newtonsoft.Json.dll;
C:\Users\antond\source\repos\ConsoleApp2\packages\System.CodeDom.4.5.0\lib\net461\System.CodeDom.dll;
C:\Users\antond\source\repos\ConsoleApp2\packages\System.Collections.Immutable.1.5.0\lib\netstandard2.0\System.Collections.Immutable.dll;
C:\Users\antond\source\repos\ConsoleApp2\packages\System.Security.Cryptography.ProtectedData.4.4.0\lib\net461\System.Security.Cryptography.ProtectedData.dll;

我尝试手动安装Microsoft.WindowsAzure.ActiveDirectory.Authentication nuget 但仍然遇到同样的问题。

我会错过什么?

谢谢!

4

0 回答 0