Why do I have 5.0 settings files when I don't have Resharper 5.0 installed?

I have Resharper 4.5 build 4.5.1.1288.2 installed with Visual Studio 2008 SP1. I've noticed recently that there are two sets of Resharper settings files in my solution directories, one for 4.5 and one for 5.0:

solutionName.4.5.resharper
solutionName.5.0.resharper

Both files are identical:

<Configuration>

  <CodeStyleSettings>

    <ExternalPath>ResharperCodeStyle.xml</ExternalPath>

    <Sharing>EXTERNAL</Sharing>

  </CodeStyleSettings>

</Configuration>



I have made some changes to my Resharper 4.5 settings recently, but I have never installed Resharper 5.0. I changed my Code Style Sharing settings from "Not share, applies to all solutions opened by current user" to "Not shared, per solution, stored in a file". I did this because I have multiple solutions that contain some of the same projects.

Why do I have 5.0 settings when I don't have Resharper 5.0 installed?
5 comments
Comment actions Permalink

Hello,

Most likely you had R# 5 preview installed at some moment — an early build,
VS 2010 preview, or something like that. I do not know a way for a lower
version of ReSharper to write its settings into a newer version of the file.
You could check roaming or local application data folders for traces of R#
5 previously installed.


Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”


0
Comment actions Permalink

I don't recall installing 5.0 on this machine. I installed 5.0 on a VirtualPC VM hosted on this machine along with Windows 7 and Visual Studio 2010. The strange thing is that if I delete the 5.0 files they reappear after I close the solution. I checked c:\users\username\appdata\local\jetbrains\resharper and c:\users\username\appdata\roaming\jetbrains\resharper. Both locations had only a v4.5 folder in them.

I also have the TeamCity 5.0.1 Visual Studio add-in installed. Would that make a difference?

I don't think the 5.0 settings are harming anything, I just have to be careful not to add them to source control.

0
Comment actions Permalink

It must be TeamCity 5.0. Here's the solutionName.5.0.resharper.user file contents:

<Configuration>
  <SettingsComponent>
    <string>
      <setting name="TeamCity.Toolbar.Shown">+TeamCity;</setting>
    </string>
    <integer />
    <boolean>
      <setting name="TeamCity.ServerChangesView.Visible">False</setting>
    </boolean>
  </SettingsComponent>
</Configuration>
0
Comment actions Permalink

Hello,

Oops! Really... Thanks a lot for pointing out. It appears that several products
were using some good old ReSharper code for writing settings files without
substituting the product name correctly. Now fixed in ReSharper and other
products, however, it will take some time for the change to get into their
builds and especially public versions (not to mention RTMs).


Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”


0
Comment actions Permalink

No problem. Glad I could help!

0

Please sign in to leave a comment.