I played around and it seems the command line tool indeed lacks this capability. I guess it was done for keeping it lightweight (or maybe cost issues).
Alternative would be to use the GenerateApplicationManifest MSBuild task:
Example:
<Target Name="Build">
<GenerateApplicationManifest
AssemblyName="myapp.exe"
Product="My Product"
...
OutputManifest="SimpleWinApp.exe.manifest">
<Output
ItemName="ApplicationManifest"
TaskParameter="OutputManifest"/>
</GenerateApplicationManifest>
</Target>
This gives you lot more options (in fact everything that you can do through MageUI
, can be done from here) and you bypass mage.exe
(and its limitations) totally.
You should be able to use it anywhere MSBuild is supported (csproj files, TFS Build proj files etc).