According to the Help for Dependencies
: "You cannot add items directly to Dependencies. Dependencies updates automatically when you add, remove, or save an item in the project. For example, if you add a VI that includes a subVI to a target, LabVIEW adds the subVI to Dependencies. However, if you manually add the subVI under the target, the item does not appear under Dependencies."
In addition, your code will run if your subVIs are under My Computer
. This is the expected behavior if the subVI is created directly from the current project.