Quantcast
Channel: Project Customization and Programming forum
Viewing all articles
Browse latest Browse all 5347

Get UniqueID for a resource from subproject that is valid in master project

$
0
0

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


Viewing all articles
Browse latest Browse all 5347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>