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

Deploying custom model multiple X++ projects

(0) ShareShare
ReportReport
Posted on by

Hello,

There are several (more than a dozen) X++ projects defining the customizations of a custom Model. All projects together define the custom model, and there are some custom Model element dependencies between them.

The question is, what is the best/optimal way to deploy the entire custom Model to UAT/PROD environments?

Is there a way to create a single deployment package for the entire custom Model, instead of multiple packages (one for each X++ project)?

  • Verified answer
    Martin Dráb Profile Picture
    241,635 Most Valuable Professional on at

    Projects are just grouping of elements for development purpose - you don't deploy them. Your model is contained in a package (which typically contains just a single model) and you'll build a deployable package (that's a different thing than a package), which contains binaries of one or more packages. You'll use this deployable package to deploy your package(s).

    You technically can generate a deployable package in Visual Studio, but it's not a good approach. The right solution is letting a build server grab your latest code, compile it and create a deployable package for you. These things have been discussed here a few times and you can also find more details on the internet (e.g. check out MSDyn365 & Azure DevOps ALM).

  • Verified answer
    contoso Profile Picture
    Microsoft Employee on at

    Hi Yiannis,

    It doesn't matter how many projects you have. On visual studio, Dynamics 365 tab >> Deploy >> Create deployment package, and select all the customized models and then create, it will generate a single deployable package that contains all your customization.

    Another way to do it is using Azure DevOps VSTS that aggregates all your customizations and then use a build pipeline to continuously deliver your code changes. See community.dynamics.com/.../setup-azure-devops-project-for-dynamics-365-finance-operations

  • Community Member Profile Picture
    on at

    Thank you Martin & Li.

    You are right of course, and apologies for invalid question.

    DevOps ALM is a goal that I have not reached yet, but I hope I will.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 274 Super User 2026 Season 2

#2
Aayush Tiwari Profile Picture

Aayush Tiwari 219

#3
Subra Profile Picture

Subra 202 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans