Set DebugAssertMustProvideMessageText to true and DebugFailMustProvideMessageText to true
MODIFY
Settings.StyleCop
Settings.StyleCop
</Rule>
<Rule Name="DebugAssertMustProvideMessageText">
<RuleSettings>
- <BooleanProperty Name="Enabled">False</BooleanProperty>
+ <BooleanProperty Name="Enabled">True</BooleanProperty>
</RuleSettings>
</Rule>
<Rule Name="DebugFailMustProvideMessageText">
<RuleSettings>
- <BooleanProperty Name="Enabled">False</BooleanProperty>
+ <BooleanProperty Name="Enabled">True</BooleanProperty>
</RuleSettings>
</Rule>
</Rules>

Set DebugAssertMustProvideMessageText to true and DebugFailMustProvideMessageText to true