I can't agree with it.
If I want to commit the version change I have to check the file out before (and delete read-only attribute) and check it in after compilation.
And I can't reset read-only attribute because I don't know if this file was writeable or no before (or I need to save the attribute before).
In my case I don't want to commit version change to source control.
In all cases it is dangerous to modify readonly attribute outside of source control system. Now I get situation when there is writeable checked in file.
IMHO VBP must restore readonly (in other words - doesn't change readonly attribute).
Thanks.
|