How to: Use the Same Target in Multiple Project Files
How to: Use the Same Target in Multiple Project Files.
Further to my post yesterday about Importing projects in MSBuild, it’s worth having a quick read over the “Order of Evaluation” section to understand further that it is important where you import a project if you wish to set the properties and items of the imported project.(TL;DR -