Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 650141
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T22:01:15+00:00 2026-05-13T22:01:15+00:00

In a Visual Studio project (C#), I attempted to perform a rename of a

  • 0

In a Visual Studio project (C#), I attempted to perform a rename of a namespace using the ReSharper shortcut (Ctrl + R + R). However, because I had branched some of the files that used the namespace from another location in the source control system, they had the readonly attribute set on them. Consequently, I received a dialog which contained "Sorry, apparently I can’t post an image because I’m a new user":

The file TestFile.cs which you attempted to edit, is readonly on disk. Would you like to make the file writeable or edit it anyway?

Checkbox: Don’t show this dialog again (Never allow in memory edits)

Buttons: Edit In-Memory, Make Writeable, Cancel, Help

I ticked the "don’t show this dialog again" checkbox and clicked Make Writeable.

To me, that suggests that in the future, all readonly files which you attempt to edit would automatically be made writeable. Instead, what has actually happened is that all future attempts to edit a readonly file are automatically cancelled (without the dialog box being shown)!

Therefore, I need to reset the settings which control whether this dialog is displayed. I’m not sure if it’s a Visual Studio setting, or a ReSharper setting, but I have tried resetting the Visual Studio Options (from menu Tools -> Import and Export Settings menu item) to no avail. I can’t find any way to reset the ReSharper settings.

Software versions:

  • Visual Studio 2008 Service Pack 1
  • ReSharper 4.5
  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T22:01:15+00:00Added an answer on May 13, 2026 at 10:01 pm

    I was able to reproduce this. This appears to be an error with the Resharper 4.5 plug-in. VS 2008’s /Tools/Options/Documents has a checkbox for Allow editing of read-only files; warn when attempt to save. This had no effect, after I took this steps you outlined.

    What I noticed at first is that I was not able to edit a read-only file after clicking these buttons you mentioned. I was able to indirectly edit a read-only, through refactor/rename, after I went to Resharper Options/General and checked Always show error dialog when exception occurs.

    I have reported this as a bug to Jet Brains.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a main visual studio project stored in SVN using the standard trunk/branches/tags
When using custom assemblies in a visual studio project. How does one check in
I have a project created using Visual Studio 2008 targeting .NET 3.5 which makes
I am using Visual Studio 2008, and I had an ASP.NET dev configuration working
We are using Visual Studio and a database project to generate our database. I
In the visual studio project settings you can choose a strong name key file
I have a WCF visual studio project, which contains many SVC files. Can I
When exporting a Visual Studio project to a Template (File/Export Template...) I get the
Hi I have a visual studio project which includes postbuildevents in the following form:
I have a Visual Studio project which uses nmake to call a Python file

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.