Describe the bug
When running a TwinCAT XAE project on Beckhoff "TC1700 | TwinCAT 3 Usermode Runtime" including a PLC project with TcUnit as library reference some errors occur and the user mode runtime fails on startup.
Very similar to #222.
To Reproduce
Run a new XAE project including a PLC project.
Implemented program to ensure Usermode Runtime works, simple program with incrementing integer, everything works.
Then add TcUnit as library reference, cannot run program.
Screenshots

Software versions
TcUnit 1.3.1
TwinCAT 4026.18
Windows 10 Professional
Run environment
Windows 10 PC with Usermode Runtime