Jaa


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

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

  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.

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.

See also

Version Control System

Working with Reporting Projects

Visual Studio Development for Microsoft Dynamics AX