Build fails if HelpLibraryManagerLauncher.exe is read-only

Topics: User Forum
Jul 7, 2010 at 11:14 PM
Edited Jul 7, 2010 at 11:26 PM

I have just upgraded to the July 6th 2010 build and I am trying out the MSHelpViewer support.

I keep my various build tools (sandcastle, sandcastle HFB, wix) under source control.  This means all the files are read-only.  When building with MSHelpViewer (mshc) support enabled, the HelpLibraryManagerLauncher.exe gets copied over to the build output folder.  When the output folder gets emptied (like in CleanIntermediates step), it fails to delete that file and fails the build.  I think the code that copies the .exe to the output folder should take care of making the file writeable, so that the 'clean' code is able to delete it afterwards.

Edit:  I just looked at the code, it looks like the file copy is done in BuildProcess.cs, line 1275.

Jul 8, 2010 at 1:37 AM

Thanks for the report.  I've fixed it and it'll be in the next release (v1.9.1.0) which should be out in a few hours.