Skip to content

Commit a4bc5e7

Browse files
committed
Add StrictXmlDocQuality property to enable XML doc warnings
1 parent c3459fc commit a4bc5e7

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/PostSharp.Engineering.Sdk/CodeQuality.targets

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,9 @@
99
<WarningLevel>4</WarningLevel>
1010
</PropertyGroup>
1111

12-
<!-- Documentation -->
13-
<PropertyGroup Condition="'$(GenerateDocumentationFile)'!='False'">
14-
15-
<NoWarn>$(NoWarn),SA0001</NoWarn>
16-
<!-- Disable XML doc warnings for now -->
17-
<NoWarn>$(NoWarn),CS1591,CS1572,CS1573</NoWarn>
18-
12+
<!-- Documentation: suppress XML doc warnings unless strict mode is enabled -->
13+
<PropertyGroup Condition="'$(GenerateDocumentationFile)'!='False' AND '$(StrictXmlDocQuality)'!='True'">
14+
<NoWarn>$(NoWarn);CS1591;CS1572;CS1573</NoWarn>
1915
</PropertyGroup>
2016

2117
<PropertyGroup Condition="'$(DisableCodeQuality)'!='True' AND '$(ContinuousIntegrationBuild)'=='True'">

0 commit comments

Comments
 (0)