The default violation storage uses the textual description of violating rules as key. The description of LayeredArchitecture rules however use linebreaks in their text to separate the layer description which is nice on the console but leads to issues when running the same rules on windows and linux environments, as both rule violations are not considered as equal anymore (\r vs. \r\n).
A quick and dirty fix could be to replace any kind of linebreak inside of the FreezingRule, but one could also rethink if using the rule description is a good key or something more stable should be used instead.
The default violation storage uses the textual description of violating rules as key. The description of LayeredArchitecture rules however use linebreaks in their text to separate the layer description which is nice on the console but leads to issues when running the same rules on windows and linux environments, as both rule violations are not considered as equal anymore (\r vs. \r\n).
A quick and dirty fix could be to replace any kind of linebreak inside of the FreezingRule, but one could also rethink if using the rule description is a good key or something more stable should be used instead.