I'm trying to merge my plugin assembly with the external libraries it's using (RestSharp, DocuSign, Newtonsoft.Json) so it can run on Dynamics Online
I'm using ILMerge and GUI-ILMerge https://ilmergegui.codeplex.com/ for simplicity but I think the problem lies within ILMerge
Multiple assemblies can be merged without problems as long as the option to sign them is not enabled.
When I try to sign them with my *.snk key, this error comes up
Unable to load DLL 'mscorsn.dll':The specified module could not be found. (0x8007007E)
The missing DLL seems to be from Windows 8. One solution I've found online suggested installing .NET 3.0, but this didn't fix anything.
All assemblies uploaded to Dynamics Online must be signed and this is presenting a roadblock at the moment.
Any suggestions on how to fix this?
*This post is locked for comments
My issue was caused by the strongly named key being password protected. Once I removed the password on the key, the build was working correctly.
Hi everyone,
Try following this guide for setting up ILMerge, and merging assemblies. It may make a difference.
Did you ever get this resolved? I'm running into the same issue.
I'm using Windows 10
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156