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 :
Customer experience | Sales, Customer Insights,...
Answered

Include external references in Plugins Workflow Activity in CRM

(0) ShareShare
ReportReport
Posted on by 299

Hi there everyone,

I have created a code Activity plugin that based on Account confirmation, it should send some of  Account fields to a called API.

for calling that API I had installed Refit Package from NuGet. 

After registering the DLL in plugin registration, and Using it in a workflow, it couldn't load the Refit Assembly, so the workflow going to waiting status.

I have copied The Refit DLL to these directories,

-C:\Program Files\Dynamics 365\CRMWeb\bin

-C:\Program Files\Dynamics 365\Server\bin\assembly 

Do I have to also put main all into the bin\assembly folder?

Do I have to register the Refit DLL?

I'm using Dynamics 365 on premise

Regards,

I have the same question (0)
  • Verified answer
    mobeenmohsin Profile Picture
    on at
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    The best way for you is to use ILMerge. Check this post on how you can do it - nishantrana.me/.../

  • z.sam Profile Picture
    299 on at

    Hi there,

    Thanks  mobeenmohsin and Andrew for your help,

    from this article www.thrives.be/.../

    I could Merge my DLL with Newtonsoft.Json.dll.

    But I think some version problems I have now, at the end I get ISV error.

    ISV.png

  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    I remember that I had such an issue once and the reason was related to the wrong version of the Framework that plugin assembly used and the target Framework I used.

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#2
ManoVerse Profile Picture

ManoVerse 60 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 43

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans