I have a project A and a subproject B linked to it. There is a task T in subproject B allocated to resource R. When I access R through A.Subprojects[1].SourceProject.Resources its UniqueID is 1. When I access the reflection of T through A.Tasks, the task is allocated to R with a different UniqueID (9xxxxxxxxxx), which is R's UID in the context of the master project A.
Is there a way to get a list of all resources across all subprojects with their UniqueIDs that will work in the context of the master project, e.g. 9xxxxxxxxx as opposed to 1,2,3..., which are local B ids?
Thanks