Brian the Wix documentation defines both a "HeatDirectory Target" and a "HeatDirectory Task". I have only used the "HeatDirectory Task" (from within BeforeBuild) in part because I call the task more than once to get different source folder trees.
When doing a wix build with VS logging set to Diagnostic, I can see that the "HeatDirectory Target" is skipped (for my project), but could have been called as part of the build process. It does do some things that don't happen when "HeatDirectory Task" is called. So I think that is the detail that you are asking about, and maybe others can elaborate on. MSBuild will only process a Target once in a build process AFAIK, but a Task can be called multiple times. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Automatically-harvest-files-in-VS-2013-tp7597592p7597605.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users