web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Problems with using ILMerge and GUI-ILMerge when merging assemblies

(0) ShareShare
ReportReport
Posted on by

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 

2017_2D00_07_2D00_28.png

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

I have the same question (0)
  • Community Member Profile Picture
    on at

    I'm using Windows 10

  • rmmontague Profile Picture
    on at

    Did you ever get this resolved?  I'm running into the same issue.  

  • Suggested answer
    Adrian Begovich Profile Picture
    1,027 Moderator on at

    Hi everyone,

    Try following this guide for setting up ILMerge, and merging assemblies. It may make a difference.

  • rmmontague Profile Picture
    on at

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans