web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / How to add an existing...
Finance forum

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

(0) ShareShare
ReportReport
Posted on by

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 

I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    240,536 Most Valuable Professional on at

    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.

  • Suggested answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    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.

  • FlorinF Profile Picture
    on at

    Thank 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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

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

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans