Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

AX2012 Automatic build from TFS: How to add Visual studio projects from TFS

$
0
0

Hi to all,

we have implemented our own automatic build based on the codeplex build scripts http://dynamicsaxbuild.codeplex.com/.

We use TFS2010 as version control system.

Basically we implemented the following build steps in order to be able to maintain ID's on our test/production servers.

1) Get the latest sources from Team Foundation Server if specified.
2) Combine the XPOs to a single one.
3) Import a modelstore containing a standard AX installation into the build system.
4) Create the new target model on the build system using the model manifest file.
5) Import the labelfiles into the target model.
6) Import the combined XPO into the target model. This must be done two times in order to resolve dependencies.
7) Export the target model to file system.
8) Import the deployed modelstore of the previous build into the build system. IMPORTANT: this has to done to get rid of ID conflicts.
9) Import the previously created target model into the build system.
10) Compile, generate CIL code, synchronize database.
11) Export the modelstore to file system.

After this step there is a deployment powershell script that will automatically deploy the modelstore, SSRS reports and so on on a target test system.

In the whole build we didn't consider the fact that now new in AX2012 there is the possibility to have Visual Studio projects in the AOT. AX2012 when adding the VS project of the AOT to TFS will export the VS project files and cs files and add them to version control.

As these files are not in XPO format how to import them on our build system?

Is there a way via command line/powershell to add a single VS project to the AOT during the build?

We haven"t used the synchronization procedure of AX (available in the community scripts) in order to be able to manage also deletions of objects. i.e. suppose a developer deletes a given Class.

Thanks for any feedback

 


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>