Hello,
we are some developer with our own Dev Boxes on Hyper-V. After Code Changes we commit the code to our LCS Build Server.
We have an other DEV VM on LCS at our Customer Project which is also connect to Source Control.
Actual we connect every moring via RDP to this Environment and manually download the latest Code Version, do a model Build and synchronize Database.
Now I want to implement an automatic process.
For Build the Model I found this entry and it works for me:
https://community.dynamics.com/365/financeandoperations/f/dynamics-365-for-finance-and-operations-forum/380566/how-to-build-the-d365fo-model-using-powershell-script
My problem is to get the latest Version of Source Code from Source Control.
Some Time ago I found this: https://docs.microsoft.com/en-us/azure/devops/repos/tfvc/get-command?view=azure-devops But therefore I have to start the CMD as Admin and that doesn't work on LCS Hosted Environment.
Does anyone have an idea or an other working way for me?