Publishing modules on the command line
By means of the following call, the module publishing process in the TwinCAT Engineering (XAE) can also be initiated from the command line:
msbuild CppProject.vcxproj /t:TcPublishTMX
The parameter CppProject.vcxproj
must be adapted according to the existing project file.
The output is done into the repository (under C:\TwinCAT\3.x\Repository).