Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

D365 Finance & Operations Version Control

(0) ShareShare
ReportReport
Posted on by 1,204

Hi,

We have few projects been up and running in production for a while, but none of them have version control implemented. Clearly this is not a best practice.

So I am a newbie learning to set up version control for these projects.

  1. Is Team Foundation version control better suited for D365 F&O rather than Git? I have seen few articles on setting up version control for D365F&O, most of them uses Team Foundation. But they're pretty old articles so I'm not sure if Team Foundation is the one I should go with. I read in a newer article that Git is better for most situations. So this is getting me confused. In our case, each customer has only one DEV machine so only one developer can work on the environment at a time. So far we only need to trace code changes, not necessarily by whom because only one person can make changes at a time anyway. Should I pick Team Foundation over Git?
  2. Another confusion is, do we create one DevOps project for each visual studio project? Or one DevOps project contains multiple visual studio projects? We usually create one visual studio project for each model. What's the best practice in this case?

Thank you.

  • Suggested answer
    piyush004 Profile Picture
    piyush004 110 on at
    RE: D365 Finance & Operations Version Control

    Hi Hairul Hazari,

    Hope you are doing well. 

    I am not an expert but as per my observations I personally prefer GIT over VSTS for Vesrion control 

    Git is a Distributed Version Control System – DVCS where each developer has a copy on their dev machine of the source repository including all branch and history information. 

    Whereas TFVC is Centralized Version Control System – CVCS,a centralized, client-server system - developers have only one version of each file on their dev machines. Historical data is maintained only on the server.

    Here are some reference articles which may help you..

    https://docs.microsoft.com/en-us/azure/devops/repos/tfvc/comparison-git-tfvc?view=azure-devops

    https://azuredevopslabs.com/labs/azuredevops/git/

    Talking about the confusion of yours regarding DevOps, Microsoft always recommend "One Project to rule them all" . You can manage other project with different teams within a single project.

    Please refer thel link below:

    https://docs.microsoft.com/en-us/azure/devops/organizations/projects/about-projects?view=azure-devops

    Regards,

  • Suggested answer
    Martin Dráb Profile Picture
    Martin Dráb 230,503 Most Valuable Professional on at
    RE: D365 Finance & Operations Version Control

    The type of source control was discussed here just two days ago. You'll find more information in the thread Azure DevOps - TFVC or Git.

    A DevOps project is for your complete implementation (e.g. for a customer implementation or an ISV product).-It'll contain all source code and - if you decide to store them in version control - all Visual Studio projects related to the implementation.

  • Blue Wang Profile Picture
    Blue Wang on at
    RE: D365 Finance & Operations Version Control

    Hi Hairul,

    If you want to have only one version on the machine, I think using TFVC is more appropriate.

    Because Git is a distributed version control system. Each developer has a copy of the source repository on their dev machine. Developers can commit each set of changes on their dev machine and perform version control operations such as history and compare without a network connection.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,503 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans