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

Azure DevOps - TFVC or Git

(0) ShareShare
ReportReport
Posted on by 4,131

Hi,

I know it is recommended to use TFVC type project when we create Azure DevOps project, but what exactly the reason that we could not use Git?

Thanks,

I have the same question (0)
  • Blue Wang Profile Picture
    Microsoft Employee on at

    Hi Yuji,

    Microsoft does not support Azure Dev Ops (VSTS) automated builds for git repositories by default.

  • Yuji Profile Picture
    4,131 on at

    Is it easy to move the Azure DevOps project from Git to TFVC?

  • Sergei Minozhenko Profile Picture
    23,095 on at

    Hi Yuji,

    Here is answer about Git to TFVC migration stackoverflow.com/.../convert-git-repository-to-tfvc-version-control.

  • Verified answer
    Joris dG Profile Picture
    17,780 on at

    Although we don't officially support it, there are plenty of people using Git. I would say, if you are familiar with Git as well as understand the structure of the X++ source (packages/descriptors etc) and all that stuff you should be able to get this done. The problem is largely around swapping branches, and/or requiring maintaining a big gitignore file.

    You will need a TFVC repo (can be empty) to be able to _deploy_ a build VM, but the build VM can build from a Git repo just fine if the folder structure matches the TFVC folder (metadata/project subfolder).

    See msdyn365fo.wordpress.com/.../

    and www.atomicax.com/.../giting-started-git-d365fo-and-other-puns

  • Yuji Profile Picture
    4,131 on at

    Thanks Joris,

    One more question, the recommended folder structure (metadata/projects sub folder), we have to follow this otherwise the build activity doesn't work?

  • Verified answer
    Joris dG Profile Picture
    17,780 on at

    Correct. The build definition assumes you have your code in a /metadata/ folder and your projects in a /projects/ sub folder.

    You can certainly change the scripts on the build VM to remove this assumption, but every time you take an update you will have to redo that script change.

    We will have the new build system in preview and that will work however you want, so if you can live with it for now it will certainly become easier soon enough.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 659

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 465 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 304 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans