Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

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

(0) ShareShare
ReportReport
Posted on by 157
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,729 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 230,379 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... 291,661 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 157 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.

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,661 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,379 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans