Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ReSharper function shows "Files still read-only"

When I try to "Remove Unused References" on some projects, resharper shows a window with a message: Refactoring failed "Files still read-only" Files are not read-only, I can edit them. VS2013, with update 3.

like image 768
gerleim Avatar asked Nov 03 '14 13:11

gerleim


3 Answers

Change a value to None for "Current source control plug-in:" combobox here Tools | Options | Source Control | Plugin Selection. It seems as if "Microsoft Git provider" is selected there now. And it is a known issue due to a bug in "Microsoft Git provider" shipped with VS 2013.

enter image description here

[August 2022] Update for users of VS2019: If you have recently started experiencing this issue, please follow this workaround.

like image 170
Alexander Kurakin Avatar answered Nov 20 '22 18:11

Alexander Kurakin


Had this problem with Visual Studio 2019 today. Restarted Visual Studio and it worked.

like image 4
keuleJ Avatar answered Nov 20 '22 20:11

keuleJ


Today, I updated both Visual Studio 2019 and ReSharper to the latest versions, and this fixed the problem.

Update (08-Aug-2022): It's not working again.

like image 2
JohnH Avatar answered Nov 20 '22 18:11

JohnH