I have a custom build step that marks the output file as read-only (the output is a preprocessed version of a JavaScript file).
Unfortunately, a rebuild of the project will cause an error like below for each output file:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppClean.targets(76,5): warning : Access to the path 'w:\xxx' is denied.
If there an easy way to indicate the output file does not need to be deleted, or is there a way to add a step to clear the read-only flag before "CppClean" runs?
Regards,
Frank
Frank