Our projects are organized in a master solution (containing every project) and multiple smaller solutions containing groupings of related projects.
I would like to share the same Resharper settings across every solution, making sure that the developers don't ever need to import configuration files in Resharper or do anything manually for that matter. The version we are using is one of the latest ones, 7.0.1. The DotSettings file checked in in TFS works great on a single solution, but replicating the same file for 20-30 solutions is a no-no.
Is there a way to share the same configuration with every project/solution in the whole team, without the need for the developers to configure this explicitly? Ideally, it should be possible to change the path to the .DotSettings file for each solution so that when a single .DotSettings file is edited it automatically affects every solution in the team.
Update:
I have searched a bit about this and tried 2 different methods, but none of them work 100%:
I'm out of options here.
Update 2:
The solution proposed by Daniel Hilgarth works perfectly, but only if Resharper is updated. A bug that caused the .DotSettings files to be auto checked out and edited on every machine was corrected on the 7.1 release. I have tested this before and after updating the software and it now works as I expected.
More information about the bug can be found here:
http://youtrack.jetbrains.com/issue/RSRP-288235
By default, you can share ReSharper settings per solution using the 'Solution team shared' layer — the only thing you need to do is to put the *. dotSettings file under version control. If you want to share settings in other ways, you would need to learn how to create new setting layers, import and export them.
...the settings are stored in "%userprofile%\application data\jetbrains\resharper\v4.
dotSettings contains project or solution specific settings that can be shared with the team, e.g. naming standards or braces layout. If you wish to share these amongst teams then the file should be included.
Resharper supports option layering.
You would use it like this:
This would create a DotSettings file for each solution. You need to check these into TFS along with the central DotSettings file.
Important: The DotSettings file of the solutions only contain a link to the central one, they don't replicate the settings.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With