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

Trace Task Dependencies in a Master Project with sub projects

$
0
0

Hi,

I have this piece of code from Jack Dahlgren   http://masamiki.com/docs/trace-task-dependencies.html which works perfectly in a single project file, However when you run this in a master project with sub projects it does not show the correct task dependencies.

E.g. If I have a milestone on the master project which is linked to 3 dependencies in 3 different sub projects, then it does not show the task dependencies showing the tasks in each sub projects.

Debugging the code it seems that the Flag5 field does not get updated in sub projects in the MarkItem() method.

How do I need to change the code for it to work in a master file to loop through all the sub projects including the master file ?

Your help in correcting the code much appreciated.



Viewing all articles
Browse latest Browse all 5347

Trending Articles



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