Skip to content

Tip 2.24: How to edit a read-only file in Visual Studio

December 21, 2011

“Visual Studio Tips, 251 ways to improve your Productivity in Visual Studio“, courtesy of ‘Sara Ford’

Sara Ford’s Blog

In Tools–Options–Environment–Documents, there’s the option Allow Editing Of Read-Only Files; Warn When Attempt To Save.

If this option is checked (my personal preference) and you attempt to save, you’ll get prompted whether you want to overwrite the document or save it as something else. My thoughts are—if I’m editing the file, I want to overwrite it eventually.

If this option isn’t checked and you attempt to edit the file, you’ll get prompted whether to make the file writeable or perform an in-memory edit.

Happy Programming! =)

 

Leave a Comment

Leave a comment