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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

MS CRM Online

(0) ShareShare
ReportReport
Posted on by

Hello All,

I merged my plugin dll and third party dll but getting below exception.

CRMMySQLConnection.MSCRMMySql.PostLeadCreate: System.BadImageFormatException: Bad binary signature. (Exception from HRESULT: 0x80131192)

Please help me how I should resolve this. This error come when I perform action when that plugin is triggering.

Thanks

Abhijeet

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Guido Preite Profile Picture
    54,084 Moderator on at
    RE: MS CRM Online

    did you include the keyfile parameter in the ilmerge command?

  • Community Member Profile Picture
    on at
    RE: MS CRM Online

    Hi Guido

    Yes I include keyfile parameter in the ILMerge command

  • Dhaval mistry Profile Picture
    810 on at
    RE: MS CRM Online

    Did you find any solution ?

    I am facing below error message

    Bad binary signature. (Exception from HRESULT: 0x80131192)

  • Verified answer
    Steven Rasmussen Profile Picture
    60 on at
    RE: MS CRM Online

    I came across this issue and was able to resolve it in my instance (not sure if it will work for everyone).  The plugin assembly was for Dynamics 365 (8.2) and I was targeting the .Net Framework 4.6 and using ILMerge to merge in several dlls.  Changing the target framework to 4.5.2 in each of the assemblies (plugin plus any being referenced) fixed it for me.

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: MS CRM Online

    Hi,

    this is a quite old post, but we had the same issue with Dynamics 365 v.9.

    We managed to get it to work with .NET 4.6.2 set on each VS projects. We downloaded a new version of ILMerge and set "Override Target Framework" in ILMerge to .Net 4.6.2.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans