How to: Add a Visual Studio Project to Microsoft Dynamics AX Version Control
Important
This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.
Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012
This topic describes how to add a Visual Studio project in the AOT to version control. If a project is under version control, basic version control scenarios can be performed in Visual Studio. Advanced scenarios must be performed in the MorphX Integrated Development Environment (IDE).
The actions you can perform from Visual Studio under version control are as follows:
Check in
Check out
Undo checkout
Get latest
Rename
To Add a Visual Studio Project to Version Control
Configure version control in Microsoft Dynamics AX. For more information, see Configuring Version Control in Microsoft Dynamics AX.
Configure version control in Visual Studio. Click Tools > Options. Click Source Control and then select Dynamics AX Version Control.
Create or open a project in Visual Studio.
Right-click the project you want to add to version control, and then click Add to Source Code Control.
Right-click the project and then click Check In.
You can check projects in and out in both Visual Studio Solution Explorer and MorphX IDE. You can view the history in MorphX IDE.
Analysis Services projects are not supported for Microsoft Dynamics AX TFS source control. To put an Analysis Services project under TFS source control, set the source control provider in TFS to Visual Studio instead of Microsoft Dynamics AX. Add files to source control directly from the TFS source control explorer.
Note
Only one developer should work on a Visual Studio project at a given time. When you save an element, it replaces the AOT version of the element.