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,
Hi Yuji,
Microsoft does not support Azure Dev Ops (VSTS) automated builds for git repositories by default.
Is it easy to move the Azure DevOps project from Git to TFVC?
Here is answer about Git to TFVC migration stackoverflow.com/.../convert-git-repository-to-tfvc-version-control.
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
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?
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 747 Super User 2025 Season 2
CA Neeraj Kumar 743
Sohaib Cheema 528 User Group Leader