It would be such a simple fix to first check if the file is missing or changed before writing to it, onedrive only has a problem because codesys writes to the file every second no matter the change.
Hello I am looking for the same thing, so i don't have an answer, but in your case you could possibly use the --noUI flag when running codesys, if you don't care about showing what's happening.
If you want to install a package from command line this works for me APInstaller.CLI.exe --installAddOnFromFile --sourcefile "path to package.package" --location "C:\Program Files\CODESYS 3.5.19.20\CODESYS"
You can do APInstaller.CLI.exe --installAddOn -? for example for a little bit more information.
I have found out that the __Delete function in codesys does not check if the given pointer is inside the memory space of the memory manager, this causes the program to crash if anything but a valid pointer from inside the memory space. I have a case where I need to be able to do this safely, I can easily write a function which check before if the address is bigger than the start of the space and smaller than the end of the space, but then I need to know the start and end of the memory space. The...
I have found out that the __Delete function in codesys does not check if the given pointer is inside the memory space of the memory manager, this causes the program to crash if anything but a valid pointer from inside the memory space. I have a case where I need to be able to do this safely, I can easily write a function which check before if the address is bigger than the start of the space and smaller than the end of the space, but then I need to know the start and end of the memory space. The...