I don't do a huge amount of scripting, so this could be a "user error" or a misunderstanding, but I've been working on some project level scripting and ran into an issue when I went to automate the process of adding a Project Folder to the "always include" section of a Packed Project Library build.
When the reference circled below is a VI "item", everything runs fine w/out error.
When the reference is for a project folder (virtual or auto-populating) we get an error.
The error is a -4500 error, without explanation, however it does seem to have something appended to the end of the message which says
"Container cannot be added to the build"
This functionality can be done easily from the project build UI itself, but this seems to not work as expected.
Since these libraries/VIs are password protected I can't dive in and see what the issue might be.
Attached is a .zip file which includes the VI above as well as the necessary components to mimic this issue.
Running in LV2018 32-bit, on a windows 10 system.
Thanks.