Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Checking in projects into azure devops

(0) ShareShare
ReportReport
Posted on by 74

HI Everyone,

I have connected my AX 2012 R3 to Azure devops, and have implemented the build and release, however am moving projects from dev to UAT to Production, but I have to export the project into shared location then import it through devops.

while checking in the project, I can find it in the shared folder files on azure devops, but it seems empty, and when I release it, only the project moves without its elements, that's why I have to export it into shared location and release it with devops,

so my question is how can I check in the project to devops and makesure all its elements are within it so I release it from the checked in location and not from the exported shared file location ?

Thank you on advance.

*This post is locked for comments

  • MDeeb Profile Picture
    MDeeb 74 on at
    RE: Checking in projects into azure devops

    Thanks a lot Martin

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,458 Most Valuable Professional on at
    RE: Checking in projects into azure devops

    No, the modelstore is not moved from DEV to the build server. The build server is where models are build based on source code stored in Azure DevOps.

    The usual approach (in my experience) is deploying models to test environments and ultimately to Pre-Live, where a whole modelstore is taken to Live.

  • MDeeb Profile Picture
    MDeeb 74 on at
    RE: Checking in projects into azure devops

    Thank you Martin,

    so please correct me if am wrong, the best practice is to have Dev, Build, UAT, Production environment, once code checked in on dev, the model store is moved to build, and then on build the model is exported, then released to UAT and production. right ?

    Thanks a lot.

  • Suggested answer
    Martin Dráb Profile Picture
    Martin Dráb 230,458 Most Valuable Professional on at
    RE: Checking in projects into azure devops

    That's correct - projects contains only links to actual elements stored elsewhere. You could export to .xpo, which would include elements in the project, but it would be a wrong way, because .xpo files are not intended for deployment.

    The best approach is having a build server, which will create a model file based on data in Azure DevOps. If you're unable to set up a build server, export and import a model directly from DEV, but don't forget that it's not without risks. You could export changes that don't exist in version control, which wouldn't happen with build server.

    Also, make sure you read Deploying Customizations Across Microsoft Dynamics AX 2012 Environments (White paper).

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! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans