Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Register plugin with external dll

(0) ShareShare
ReportReport
Posted on by 355

hi im using dynamics 365 crm 2016 on-premise and try to register custom plugin which is work inside workflow.

i want  to get description inside Case (which is created by email) and remove all html tag from it. using HtmlAgilityPack package ,its help me to remove all html tags.but as you can see it's third party tools.

in first try i copy this dll to "/server/bin/assembly/" , but not working

in second try i use ILMerge and combine this dll to my plugin , but not working either and when my process try to work give me below error:

Could not load file or assembly 'HtmlAgilityPack, Version=1.11.24.0, Culture=neutral, PublicKeyToken=-------------------' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040).

 i really appreciated if someone give me some clue .

  • farbodkain Profile Picture
    farbodkain 355 on at
    RE: Register plugin with external dll

    in my scenario is it possible to use "WebHook" instead of plugin?

  • farbodkain Profile Picture
    farbodkain 355 on at
    RE: Register plugin with external dll

    Unfortunately not working and same error happened

    Could not load file or assembly 'HtmlAgilityPack, Version=1.11.24.0, Culture=neutral, PublicKeyToken=------------------' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

  • Suggested answer
    Xiong Chen Profile Picture
    Xiong Chen on at
    RE: Register plugin with external dll

    Please put your third-part assemblies in this folder C:\Program Files\Dynamics 365\CRMWeb\bin

    and restart your issue, it should work for your case

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,430 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans