Quantcast
Channel: MSBuild forum
Viewing all articles
Browse latest Browse all 2763

Microsoft.CppClean.targets(76,5): warning : Access to the path is denied.

$
0
0

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


Viewing all articles
Browse latest Browse all 2763


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>