My understanding of MSBuild is that it will only fire a Target once. http://msdn.microsoft.com/en-us/library/ms171462.aspx
So I create a Target with a custom name and place a HeatDirectoy task in that target. Then I repeat that process creating a custom named Target to include each HeatDirectory task for each folder that I need to harvest. I then list the Targets in a DependsOnTargets of the Target that I want to use to trigger the harvesting. <Target Name="Hrv_files" DependsOnTargets="Hrv_App1;Hrv_App2;copyOnlyIfChanged" /> I also generate my output files to one folder and then only copy those files to the project if they change to improve incremental building. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/HarvestDirectory-target-for-multiple-directories-tp7596917p7596925.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users