I noticed ReSharper has created a dotsettings.user
in my Source folder.
The . 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. Follow this answer to receive notifications.
If you change any settings, your change is saved in a settings layer and ReSharper applies it overriding the corresponding default setting. Initially, ReSharper suggests three layers, in which you can save your preferences: This computer, Solution team-shared, and Solution personal.
No, the dotSettings.user
file should be excluded from source control. It has user specific information in it, and shouldn't be shared, e.g. bookmarks, unit test session windows.
The .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.
No, you shouldn't do so, as ReSharper Help says.
The corresponding settings file .sln.DotSettings is saved in the solution folder.
As soon as this file is added to your VCS and the team members get it, they will have settings from this file applied automatically without reloading the solution.1
The corresponding settings file .sln.DotSettings.user is saved in the solution folder. You should not add it to your VCS.2
The article explains ReSharper setting layers in details, which answers your questions as well.
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