Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / How can we add dll fil...
Finance forum
Answered

How can we add dll file to a model or package for deployment in a production environment?

Posted on by 155
Hi experts,

I recently built a project that contains .dll file of a .NET Library file and I am now confused about how to deploy it to a production environment. I mean will the DLL file work in the production environment or do we have to do some additional steps for it?

I will be really thankful for your kind suggestions.

Regards,
Arif Hussain
  • Suggested answer
    Komi Siabi Profile Picture
    Komi Siabi 12,431 Most Valuable Professional on at
    How can we add dll file to a model or package for deployment in a production environment?
    Hello, 
     
    You mentioned that you built the project which contains a .NET library file. 
    You do no need any additional step on Tier 2 and Production after deployment. 
  • Martin Dráb Profile Picture
    Martin Dráb 228,137 Most Valuable Professional on at
    How can we add dll file to a model or package for deployment in a production environment?
    The information you provided isn't sufficient to answer your question.
     
    If you mean a DLL not built by your project, you need to include it in the bin folder of your module, unless it's a file that F&O already contains. The same applies to other files that this file may depend on.
  • Verified answer
    André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 290,277 Super User 2024 Season 2 on at
    How can we add dll file to a model or package for deployment in a production environment?
    Hi Arif,

    The dll will be part of the deployable package. That should take care of installing it on the production environment. If the file will be recognized correctly depends on if another version of the dll is already used by Dynamics 365. 
    Ensure you test it on a Tier-2 sandbox environment before moving it to production.
  • Arif Hussain Profile Picture
    Arif Hussain 155 on at
    How can we add dll file to a model or package for deployment in a production environment?
    Sir Martin Dráb,

    Can you please share your insights about it? I will be thankful to you.

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,277 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,137 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans