xae_build
Builds TwinCAT 3 solutions after verifying session edits are saved, reports errors with file:line, and can check all objects or flag unlinked GVLs.
Instructions
Build the solution. save_first (default) runs File.SaveAll, saves whatever the shell still reports unsaved, and checks that every xae_pou_set / xae_pou_create edit of this session is in the source files — it refuses to build otherwise (an external reload would discard the edits). Returns success, error/warning items with file:line (VS error list, or parsed from the Build output pane) and the output tail. check_all_objects=true runs PLC 'Check all objects' instead (compiles unused POUs). After a build of 0 errors, link_check names the GVLs nothing in the source references (TwinCAT does not link them: no symbol on the target) unless they carry {attribute 'linkalways'}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clean | No | ||
| rebuild | No | ||
| save_first | No | ||
| check_all_objects | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||