Many people may be familiar with the CombineXPOs.exe utility for Dynamics AX that mfp has shared on his blog. This utility is useful to take many individual xpo files and create a single large xpo file that can be imported into Microsoft Dynamics AX either from the command line or manually in the client. I recently had a scenario where I wanted to do the opposite, export a large project from Dynamics AX and then parse the project into individual XPO's. This was useful to compare all of the objects installed in a layer in multiple enviroments. Hit the jump for the source code and binaries.
This was written for and tested on Microsoft Dynamics AX 2009. It will likely need to be modified to work with Microsoft Dynamics AX 2012.
The source code for this project can now be accessed from GitHub.