重置VS2010可编辑只读文件的选项

VS2010编辑只读文件的时候会出来 Edit In-Memory, Make Writeable, Cancel, Help 按钮

如果不小心勾选了 "Don't show this dialog again (Never allow in memory edits)"

那就杯具了,以后再也没法编辑只读文件了

解决方法:

打开注册表 HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\SourceControl

把UncontrolledInMemoryEditDialogSuppressed设为0

 

posted @ 2013-01-08 13:28  龙磐天石  阅读(1461)  评论(0编辑  收藏  举报