Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / How to add an existing...
Finance forum
Answered

How to add an existing model to Azure DevOps (VSTS)

Posted on by 170

Hello !

I want to setup TFS with D365FO  8.1

How can I add all the existing source code to TFS from an existing developer machine? I have a dev machine in which TFS was not used from the start and now I want all the code changes to be uploaded in TFS. In Ax2012 we had "Add model to version control", is there similar functionality in D365FO? I can create some mappings to x:\AosService\PackagesLocalDirectory\ but I don't know the folder structure that must be created in TFS and also don't want the whole PackagesLocalDirectory uploaded in TFS.

Tutorials shows you how to set TFS starting from existing repository but not how to create an repository from existing customized models.

Thank you 

  • FlorinF Profile Picture
    FlorinF 170 on at
    RE: How to add an existing model to Azure DevOps (VSTS)

    Thank you!

  • Suggested answer
    nmaenpaa Profile Picture
    nmaenpaa 101,148 on at
    RE: How to add an existing model to Azure DevOps (VSTS)

    In D365FO you don't have any specific functionality for adding stuff to version control. But Visual Studio has such functionality and you use it also with D365FO.

    You should map x:\AosService\PackagesLocalDirectory\ with [YourADOProject]/Trunk/[Branch]/Metadata

    And Visual Studio 2015 / Projects with [YourADOProject]/Trunk/[Branch]/Projects

    I think the folder structure is created automatically when you setup LCS - ADO integration.

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 225,672 Super User on at
    RE: How to add an existing model to Azure DevOps (VSTS)

    The mapping is necessary, of course.

    Then for each model, all the folder with the model (not the whole package) and the descriptor file. For example, if I have MyModel inside MyPackage, I'll add the whole folder PackagesLocalDirectory\MyPackage\MyModel and the descriptor file PackagesLocalDirectory\MyPackage\Descriptor\MyModel.xml.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,420 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,672 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans