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

Notifications

Announcements

No record found.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans