We want to share .DotSettings
between several solutions. The goal is to have one CodeStyle.DotSettings
, which we call the layer in all of our X.sln.Dotsettings
. However, I see unexpected behavior when I add a layer.
Go to the "Manage Settings" section, right-click "Solution X team-shared" → "Add Layer" → "Open Settings File", select CodeStyle.DotSettings
and click "Open."
Then I check X.sln.Dotsettings
and see two links, one of which uses the absolute path, and the other the relative:
<s:String x:Key="/Default/Environment/InjectedLayers/FileInjectedLayer/=3BE2D8150433584697322AAD3C173856/AbsolutePath/@EntryValue">C:\path\to\my\repo\CodeStyle.DotSettings</s:String> <s:String x:Key="/Default/Environment/InjectedLayers/FileInjectedLayer/=3BE2D8150433584697322AAD3C173856/RelativePath/@EntryValue">..\CodeStyle.DotSettings</s:String>
Checking the absolute path to my local repository does not make sense, so I'm trying to remove this line from X.DotSettings
, but it no longer appears in the Layer Settings dialog box. The relative path seems suspicious with its leading points, so I'm trying to remove ..\
from it, but it still doesn't appear in the "Settings Levels".
What am I doing wrong?
We are using ReSharper 8.2.3
source share