In the past, R# would create the stub even if the file containing the definition for myObject's class was readonly. The file would be opened and modified but I would have to click "Overwrite" when I tried to save it.
Today, I get "failed to modify document" and the file containing the definitioin fo rmyObject's class is not modified.
I tried closing the IDE and deleting the _Resharper directory for that solution but that didn't help. Did I accidentally hit a keyboard shortcut and somehow turn off this capability?
It is really painful to have to find all refrences to something, go to those files and check them out before making a change that affects those files.
Could you please open Tools > Options > Environment > Documents and make sure 'Allow editing of read-only files; warn when attempt to save' option is turned on? Thank you!
Yes that Visual Studio option is checked.
Do you have any source control plug-ins selected under Tools > Options > Source Control > Plug-in Selection? Thank you!
For this solution, the "Current source control plug-in" is "SnapshotCM". When I change it to "None", I don't get any error messages but R# fails to update all affected files.
File A defines an enum.
Files B, C and D reference that enum.
2. R# changes the value in File B and A, but not in Files C or D.
But now my build is broken.