Hi,
Interestingly enough, I cannot find a way to programatically change the dependency of a project item. I mean, of course, not the absolute path that a VI or a library expects its dependency to be, but the relative one to that of the Caller.
Surely it must be possible: we see it happen in cases like when we Save as->Substitute copy for original, but I can't seem to find a method to do this.
My main use case is as follows: let's say we are building "PPL_X" that has a dependency on "PPL_A". In the build options, if we select to "Exclude dependent packed libraries", our generated PPL_X will expect PPL_A in the location where PPL_A is referred to in the project. However, if we do not "Exclude dependent packed libraries" the build of PPL_X will also contain PPL_A in the same destination (by default).
In a given machine, the location of PPL_A might have moved. I was wondering if there was a Property/Invoke node that would take a .vi/.lvcass/.lvlibp, list its dependencies and allow us to read/change the dependencies relative path.
Hope that made sense,
Cris