I have a Git version controlled solution in VS 2013 with several projects. Some of the projects are outside of the solution folder and thus are not controlled by Git.
I noticed that for those projects that are outside of the solution folder Resharper 8 class name refactoring fails with the 'file is read-only' error. It also fails to apply "Rename file to match the class name" command.
All works fine for the projects that are IN the solution folder and are controlled by Git.
Is this a known issue of VS or Resharper? Or is it considered a normal flow, and the files must be renamed manually?
UPDATE
Another interesting issue, Resharper cannot modify those files' content as well. So if I want to comment a line using Resharper's command, it won't until I start editing the file manually in VS.
来源:https://stackoverflow.com/questions/22409312/resharper-cannot-rename-files-when-git-version-control-is-applied