Hi,
I want to register the plugin which added reference of the third party dll. I have below situation,
I have to add two dll for single plugin
1. MyPlugin.dll
2. Reference_thirdparty.dll
How to add the "Reference_thirdparty.dll" which can work for the "MyPlugin.dll(is it crm plugin dll)"?
Thanks,
*This post is locked for comments
Thanks, I got it.
but now my problem is this post "community.dynamics.com/.../240990".
I want to create mail merge document(this contains the multiple document inside signle mail merge document) from the crm .net code. is there any way to do it.?
Hi Mohd,
There's no good alternative to ILMerge that has the same concept of adding assemblies to CRM. It's simply not supported and I don't see Microsoft changing this in the future.
With CRM online the best approach is to offload the custom logic you have in the DLL to an external service. You could think of a servicebus or an Azure Function. But that doesn't solve all challenges.
Hi,
I have tried to achieve same in past for Dynamics 365 CRM online using ILmerge but failed. ILmerge simply didn't work. Still waiting to see if there is any good alternative to achieve this.
Hi,
For including reference assemblies in plugins, you could use ILMerge.
The steps are described in the video below.
Hope this helps.
Hi
You can use ILmerge to merge your plugin assembly and the third party assembly and then register that resultant assembly (using PRT).
Please refer:
If you're using CRM OnPremise, you should deploy the third party dll to the server\bin\assembly directory on each CRM server, and CRM should load this when needed, without any need for any additional references
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