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 :
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

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 > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 70

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans