Prevent read-only on "external source" files?

Is there any way to allow editing of files that resharper has decided are 'external source' files and should be read-only?

My solution references library dlls that I build with a command line script. Resharper uses the pdbs for those dlls to find/open the source files when debugging. However it forces those files to be read-only (showing a padlock,) even when not debugging, e.g. the files are opened using the regular file->open dialog.

I would like to be able to edit the source for the libraries I'm using. My current workaround is to open another instance of visual studio, but it would be nicer not to have to.


Note: This is basically a duplicate of http://devnet.jetbrains.net/message/5278262#292100 (which was never resolved,) but with R# 6 and VS2010.
JetBrains ReSharper 6.0   C# Edition build 6.0.2202.688 on 2011-06-29T11:14:16. Suspending R# allows the file to be edited, so it's definitely the culprit.

1 comment
Comment actions Permalink

It's a bug fixed in upcoming 6.1: http://youtrack.jetbrains.net/issue/RSRP-275733

In 6.0 the only way to prevent locking is disabling External Sources in options.

0

Please sign in to leave a comment.