rtraband - 2006-05-09

Logged In: YES
user_id=1519368

Follow up:
I downloaded the source and added a simple fix to this
problem. The files were being brought to the temporary
working directory, but they were not be added to the
compiler. I just created an ArrayList of strings for the
files being added and called htmlHelp.AddFileToProject() on
each file in the list.

ArrayList additional = new ArrayList();
.
.
.
foreach(string srcFile in Directory.GetFiles(path, pattern))
{
string dstFile = Path.Combine (
workspace.WorkingDirectory, Path.GetFileName(srcFile));
File.Copy(srcFile, dstFile, true);
File.SetAttributes(dstFile, FileAttributes.Archive);
additional.Add(dstFile); //my simple code
}
.
.
.
foreach(string file in additional)
{
htmlHelp.AddFileToProject(file);
}