company wide solution specific settings
Hello,
I want to provide my team with company wide settings. I've already read
- https://blog.jetbrains.com/dotnet/2012/01/18/per-project-settings-or-how-to-have-different-naming-styles-for-my-test-project/
- https://blog.jetbrains.com/dotnet/2011/12/06/resharper61-settings-dropbox-and-company-wide/
- https://asizikov.github.io/2015/07/05/sharing-resharper-settings/
- and some on stackoverflow.
but I'm not getting it right with these.
Situation:
We have several solutions we want to use certain different code styles with. Say: Some should use 'var' and some must not. So there can't be just one single file thats distributed all over the company, there have to be more (id est: nuget package solution dies).
So far, I'm following the tutorials and add a layer with a reference to a settings file. This reference could be different for every solution. That setting file has been checked into a repository, but if I check out the same solution on path thats not so deeply (or deeper) nested (such may be the case on a colleague's pc), it doesn't find the correct file and just creates the path and an empty settings file. Seems like it folows the relative path. But since the solutions may be distribute among any number of nesting levels and directories I would have to check out the settings for every solution and update them all for every change.
I've also tried the following:
- Deleting the relative path from the settings file seems to work, but I don't know if this is R# upgrade compatible.
- Checking out into %AppData%\ResharperSettings, but %AppData% is replaced by a path, that contains the username, so it is no usable. Using %AppData% would be pretty cool, since everybody has it and it is out of sight.
Question:
Am I attacking this from the wrong direction or am I just doing it wrong?
Kind regards,
Sebastian Rombach
PS.:
Version info:
JetBrains ReSharper Ultimate 2018.1 Build 112.0.20180414.70444
ReSharper 2018.1.20180414.71556
Please sign in to leave a comment.