Get in touch

AX Client - Import VS project

Imports a VS project into an AX 2012 environment

TopicWork with AX client (AX 2009/2012)
CategoryBuild
Special features
  • Run options:
    • Direct (uses Autorun file)
    • Batch (add to existing Autorun file and execute later)
  • Supports multiple imports by define a folder
    • Supports recurse source path
    • Supports include + exclude wildcards
  • Set layer name (optional)
  • Set layer code (optional)
  • Set model name (optional)
  • Set max wait time (optional)
Microsoft documentationhttps://msdn.microsoft.com/en-us/library/gg889249.aspx

Parameters

ParameterTypeRequiredDefaultExample
Run modeHow should the step be executed? Possible values are "Direct" or "Batch". The option "Direct" will create and use an autorun file to execute the build step and the option "Batch" adds the build step to an existing autorun file. To execute the existing autorun file use the Build step "AX Client - Execute autorun xml file". To create an empty autorun file use the Build step "AX Client - Create empty autorun xml file".PicklistTrueDirect—
Selection modeHow to select the VS project(s)? Possible values are "Single" or "Muliple".PicklistTrueSingle—
VS project file path (.csproj)The file path of the VS project file. (.csproj)Depends on: Only visible if Selection mode is "Single"File pathTrue—$/Microsoft Dynamics AX (Test)/Sources/VAR/Data Dictionary/Visual Studio Projects/My Project/MyProject.csproj
Source path of VS project filesThe source path of the VS project files.Depends on: Only visible if Selection mode is "Multiple"Directory pathTrue—$/Microsoft Dynamics AX (Test)/Sources/VAR/Data Dictionary/Visual Studio Projects/
Recurse source pathShould the source path recursed?Depends on: Only visible if Selection mode is "Multiple"BooleanFalseTrue—
Include filter(s)Define multiple include filters. (comma-seperated)Depends on: Only visible if Selection mode is "Multiple"StringFalse*.csprojMyProject.csproj, OtherProject.csproj
Exclude filter(s)Define multiple exclude filters. (comma-seperated)Depends on: Only visible if Selection mode is "Multiple"StringFalse—MyProject.csproj, OtherProject.csproj
Client config file path (.axc)The file path of the client configuration file.Depends on: Only visible if Run mode is not "Batch"File pathTrue—$/Microsoft Dynamics AX (Test)/Client.axc
Log file path (*.log)The file path to save the log file to.Depends on: Only visible if Run mode is "Direct"File pathTrue—$/Microsoft Dynamics AX (Test)/MyAutorunLogFile.log
Layer nameSpecifies which layer to open in the AOT.Depends on: Only visible if Run mode is not "Batch"StringFalse—VAR
Layer codeSpecifies the developer license code for developer options.Depends on: Only visible if Run mode is not "Batch"StringFalse—SDSA43432DSADSADAS
Model nameThe "current model" is the model where all new AOT elements are created in.Depends on: Only visible if Run mode is not "Batch"StringFalse—MyModel
Max wait time (min)The number of minutes to wait before failing the step.Depends on: Only visible if Run mode is not "Batch"IntegerFalse120—
AutoRun file path (*.xml)The autorun file to append the build step to.Depends on: Only visible if Run mode is "Batch"File pathTrue—$/Microsoft Dynamics AX (Test)/MyAutorunFile.xml