Monday, 28 March 2016

Files still read-only when refactoring using ReSharper

Problem

ReSharper refactoring operations fail in Visual Studio with the message:

Refactoring Failed

Files still read-only:

Here is an example:

image

This occured with ReSharper Ultimate v10.0.2 and Visual Studio Community Edition 2013 (Version 12.0.300101.00) and the .

Solution

In Visual Studio go to Tools > Options > Source Control > Plug-in Selection and set the source control plug-in to None.

image