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 :
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,208 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
    239,040 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

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 March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 658

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 468 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 333 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans