Showing posts with label Tools. Show all posts
Showing posts with label Tools. Show all posts

Saturday, August 8, 2015

Export Dynamics AX project from Code

Doing a backup for code can be done in many ways for Dynamics AX, one of it is using the xpo backup.
Below is the sample code to export the Project from x++:

static void ExportProject(Args _args)
{
    TreeNode            treeNode;
    ProjectNode         projectNode;
    ProjectListNode     projectListNode;
    TreeNodeIterator    it;
    ;

    projectListNode = infolog.projectRootNode().AOTfindChild("Shared");
    it = projectListNode.AOTiterator();
    projectNode = projectListNode.AOTfindChild("ALL_CUS");
    treeNode = projectNode;
    treeNode.treeNodeExport(@"C:\Tst.xpo");
}

Friday, November 8, 2013

Testing out new tools AxBuild.exe from CU7 for parallel compiler

A new tool came out in Dynamics AX 2012 R2 CU7 which is AxBuild. This tool really help us to make the compiler run faster. Here is the screenshot of the parallel compilation using AxBuild.exe.

I have tested my self this tools run in virtual machine and it takes 1 hour 5 mins to do the full compilation.


For more information you can go to this link.
http://msdn.microsoft.com/library/d6da631b-6a9d-42c0-9ffe-26c5bfb488e3.aspx
and
http://blogs.msdn.com/b/axtools/archive/2013/11/04/parallel-x-compilation-for-microsoft-dynamics-ax2012-r2-in-cumulative-update-7.aspx