I have the unortunate sitation with using a source control tool that keeps my local files read-only if they are not checked out. When I attempt to apply a refactoring such as Move to Another Namespace using Resharper 6.1.1, it fails with the dialog

Resharper Recactoring Failure

because the other files in the solution are currently read-only. Is there a fix or workaround for this? If not I'll enter it into their issue tracker.

1

There are 1 answers

0
fabiopagoti On

As a workaround, I would write a script to change read only property of the files. Depending on the IDE you're using you might be able to call such script in specific events like every build (supported by Visual Studio 2010).

Make read-only file read write from commandline windows