To generate XML documentation files for a
project
-
Open the Projects form by pressing CTRL+SHIFT+P.
-
Right-click the project for which you want to create XML documentation files,
point to Add-Ins, and then click Extract
XML documentation. -
Select the Documentation check box if you want to
create a documentation file for the project.The documentation file contains the documentation from the header templates in
the source code -
Select the Reflection check box if you want to create a
reflection file for the project.The reflection file contains reflection information about all the classes,
tables, methods, data types, and base enumerations in the current layer -
In the File name fields, specify the destination of
each file.
You can generate these XML files for a project or for the entire application.
XML files for a project are generated by using a command in Microsoft Dynamics
AX. XML files for the entire project are generated by using the command prompt.
Generating XML files for the entire application can take a long time, depending
on how much documentation has been written in the code
To generate XML documentation files for the entire
application
Create a folder in which you will create the XML documentation files. This
procedure will reference a folder that has the path, C:\XMLDoc.
Note: For security purposes, you may not be able to create XML documentation files
directly on the root of a drive.
At the command prompt, execute the following command to create a documentation file for the entire application:
Ax32.exe -startupcmd=xmldocumentation_C:\XMLDoc\documentation.xml
At the command prompt, execute the following command to create a reflection file
for the entire application:
Ax32.exe -startupcmd=xmlreflection_C:\XMLDoc\reflection.xml
Note :When you use these commands, Microsoft Dynamics AX will automatically start
and create the XML files. Microsoft Dynamics AX will automatically close when it
finishes.
August 20, 2008 at 10:48 pm
Nice one dude… it is really helpful
August 4, 2009 at 7:32 pm
yes nice but what is used for this xml documentation file ?