ILMerge DLL: Assembly not merged in correctly, still listed as an external reference

前端 未结 5 1742
醉话见心
醉话见心 2020-12-14 05:46

In the build process for a .NET C# tool, I have been using ILMerge to merge the assemblies into a single exe.

I added a new class library recently, and now the ILMe

5条回答
  •  一个人的身影
    2020-12-14 06:33

    I got this error and it pointed to the Microsoft.Xrm.Sdk reference which I was merging into the single dll. The problem was fixed when I set another reference, Microsoft.Xrm.Sdk.Deployment to merge into the dll as well. Funny thing is in a separate project I had the 1st reference merging and the 2nd deployment dll not merging & it did not complain at all.

提交回复
热议问题