Code import - AX 2012 - Importing Visual Studio projects kept in source control

Of course, the visual studio projects you created in AX are not kept in the source control (TFS in this case) as xpo file, but rather as the individual files composing the project. In order to import it manually from the local repository you need to use this:

static void ImportProject(Args _args)
{
    str pathToCSProjFile = '';
   
    SysTreeNodeVSProject::importProject(
pathToCSProjFile );
}


where of course the pathToCSProjFile variable is as its name says the path to the csproj file on the disk.

No comments:

Post a Comment