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 :
Finance | Project Operations, Human Resources, ...
Answered

How to deploy thrid party DLL

(0) ShareShare
ReportReport
Posted on by 214

Hi,

I;m using third party C# library which I install it by using NuGet operation (in fact it's download and installed from github as you known).

The c# library worked in my development environment(Tier1).

My question is that : 

1.  How can I distribute the C# library to the other Tier1 development environment?

      I tried to put the DLL in the metadata/bin,  but the other Tier1 environment can't call the c# function since add reference DLL of metadata/bin .

2.  How can I deploy the C# library to the SaaS evironment (Tier2~Tier5)? 

Best Regards.

I have the same question (0)
  • Komi Siabi Profile Picture
    13,107 Most Valuable Professional on at

    Hello Royan,

    You are to add the DLL as reference in your X++ Project and compile. Create a package and deploy to your Tier2 then tier5.

    Komi,

    Regards.

  • Suggested answer
    Arunraj Rajasekar Profile Picture
    1,743 on at

    Hi RongYan,

    I had a similar requirement and followed the steps in the link below. Check to see if this helps.

    docs.microsoft.com/.../manage-runtime-packages

    Thanks,

    Arun

  • Verified answer
    Martin Dráb Profile Picture
    237,880 Most Valuable Professional on at

    The DLL should be in bin folder of your model and added to source control. Also, the reference (see References node in Application Explorer) must be added to source control too to get everything working in Dev environments.

    If you still have a problem on other Dev boxes, verify that these two files were downloaded from source control. If they were, then you have another problem, e.g. that the DLL depends on another assembly that you have on the original Dev box but not on others.

    When you have this setup, the DLL will be included in deployable packages and installed together with other code.

  • Suggested answer
    RongYan Profile Picture
    214 on at

    Hi Martin

    Thanks very much!

    As you said, I really need other dependent DLL, and it works after add them.

    Best Regards.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 611 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans