Is keeping intermediate files a good idea?

Topics: User Forum
Jul 21, 2011 at 10:46 AM

Hello,

Building the help files on our solution (with 100+ csproj, all documented), takes a significant time. We also want to put the help fine generation in our continuous build server (ccnet) - generation is done once a week currently

I was wondering if keeping the intermediates files for the next ccnet build is a good idea or not. Will it speed up the process (by reusing already generated items)? If so, will it detect also items which have been changed and need to be updated?

A similar question for the generated help files: does the fact that the final help files are already in the target directory speed up the result if the files haven't changed? Or will they be recreated even if they haven't changed?

Many thanks for your help !

Coordinator
Jul 21, 2011 at 4:01 PM

Incremental builds are not supported so keeping the intermediate files doesn't do anything for subsequent builds.  They will be deleted along with the help file output, if it exists, when the next build starts.  The intermediate files are useful if you're trying to troubleshoot a problem.

Eric