Hi Richard,
I tested in two seperate msbuild files with the same configuration at the link you mentioned. However, the item can't be accessed in both Build and AfterBuild targets. It seems that the nesteditems are updated only when build same project file.
I wonder if it is proper to update items from nested project files. It may causemore problems when there are many duplicate items in both files.
In addition to xml parser, you mayimplement a task to use the
Project.Load api to load a project file and update its items to current project. Not sure if it is the best way, but it is another possible method.
Hongye Sun [MSFT]
MSDN Subscriber Support in Forum
If you have any feedback on our support, please contact msdnmg@microsoft.com
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.