Where does ReSharper store the namespace provider settings?

If I go to Solution Explorer and select the folder, ReSharper will add a property to the properties window called the “Namespace Provider”.

When I change the namespace provider property, where does ReSharper store it?

I changed this property to False for one of the folders in our project, and I want to check this change for version control. But my SolutionName.6.0.ReSharper file has not changed, even after I exited and restarted Visual Studio. I also opened the .ReSharper.user file in a text editor and looked at it, but it does not look like this property is also stored there.

+8
resharper
source share
3 answers

As in ReSharper 8, it is saved in the ProjectName.csproj.DotSettings file with the following format:

 <wpf:ResourceDictionary> <s:Boolean x:Key="/Default/CodeInspection/NamespaceProvider/NamespaceFoldersToSkip/=**FolderToSkip**/@EntryIndexedValue">True</s:Boolean> </wpf:ResourceDictionary> 
+7
source share

This is saved in the ReSharper properties file at the project level: ProjectName.csproj.ReSharper

There is a section here that looks like this:

 <NamespaceFolders> <SkipFolder>2362DD64-84CF-4ED0-B4F7-94577E33A1DC/d:Content</SkipFolder> </NamespaceFolders> 
+4
source share

I set it to false for me in the Properties folder (containing AssemblyInfo.cs ) in one of my projects (VS2010, Resharper 5.1).

It creates files in the project directory with the name <ProjectName>.csproj.ReSharper .

File contents:

 <Configuration> <NamespaceFolders> <SkipFolder>83F5FDE9-BC4A-45E6-A7CA-E2EF85388AE5/d:Properties</SkipFolder> </NamespaceFolders> </Configuration> 
+1
source share

All Articles