This MS Build tasks will completely generate PA Pack and DNN manifest file (.dnn files for DNN 5.x and up), it will process and generate version #'s, etc.
Using the DNNtc MSBuild tasks is possible with VS2008 and up.
All sources can be downloaded from the Source Code
If you want to edit, change the source code of the MS Build task structure itself (which is not needed to use the MS Build task), you will need Visual Studio 2012
Ernst Peter Tamminga