I've been trying to run the following command at the post-build event command line text box and I always get an error:
XCOPY "$(OutDir)$(HtmlHelpName).chm*" "$(SolutionDir)MyProject\Resources\$(HtmlHelpName).chm*" /Y /C
I've tried many combinations... with or without asterisks, and switches and it either fails with "Code 4" or it doesn't copy the file. I've used this same command on other standard VS project templates and they all work fine. I've also tried the complete
resolved command at the Windows command line and it works perfectly.
What is different in Sandcastle? Am I doing something wrong?
Also, I'm doing this because the "Help content output path" deletes all files in the destination folder by default, which has given me many hard times every time I forget! Can this be set to optional??? Through a checkbox maybe?? The default behavior
in VS is not to delete, and leaves that to the user through the "Clean" command which is much more safer and convenient.
Any help or suggestions are very much welcomed.