msbuild - How to HeatDirectory 2 or more times against directories with the same files? -


i've been using heatdirectory task in our wix installer project in beforebuild target harvest files of web application deploy on clients network. been working great.

i want deploy second set of files, happens documentation, , contains files of same name exist in previous heatdirectory output.

i following error:

lght0293: multiple files id 'web.config' exist. 

i understand why getting error, i'm wondering how best resolve it.

option a:

copy files directory , run heat on them in 1 massive pass.

i because easy implement using stock msbuild tasks. dislike because create 1 massive componentgroup , if ever decided make optional features (like not install something), can't.

option b:

iterate on output file of heatdirectory task , append suffix on component id , file id's. example - web.config become web.config_documenationfiles

i because it's clean; i.e. can delete later or add project that's having issue , not add projects don't. dislike because i'm not sure 'process' (or msbuild task) capable of doing this. need custom task think.

other options: ?

ideas?

the heatdirectory task has transforms attribute can use transform result file. create xslt add suffix component ids.

also, heat extensible. may want creating own harvester append suffix component ids you.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -