How to: Add a Visual Studio Project to Microsoft Dynamics AX Version Control [AX 2012]

Updated: August 27, 2014

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

  1. Configure version control in Microsoft Dynamics AX. For more information, see Configuring Version Control in Microsoft Dynamics AX.

  2. Configure version control in Visual Studio. Click Tools > Options. Click Source Control and then select Dynamics AX Version Control.

  3. Create or open a project in Visual Studio.

  4. Right-click the project you want to add to version control, and then click Add to Source Code Control.

  5. 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.


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.

Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).