Skip to content

Commit

Permalink
Enable documentation comment analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
sharwell authored and Oceania2018 committed Jul 6, 2020
1 parent dfd171f commit 55349f4
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
27 changes: 27 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>

<PropertyGroup>
<!--
Make sure any documentation comments which are included in code get checked for syntax during the build, but do
not report warnings for missing comments.
CS1573: Parameter 'parameter' has no matching param tag in the XML comment for 'parameter' (but other parameters do)
CS1591: Missing XML comment for publicly visible type or member 'Type_or_Member'
CS1712: Type parameter 'type_parameter' has no matching typeparam tag in the XML comment on 'type_or_member' (but other type parameters do)
-->
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn),1573,1591,1712</NoWarn>

<!--
Suppress warnings for currently-invalid documentation comments.
CS1570: XML comment has badly formed XML
CS1572: XML comment has a param tag, but there is no parameter by that name
CS1587: XML comment is not placed on a valid language element
CS1711: XML comment has a typeparam tag, but there is no type parameter by that name
-->
<NoWarn>$(NoWarn),1570,1572,1587,1711</NoWarn>
</PropertyGroup>

</Project>
3 changes: 3 additions & 0 deletions Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
</Project>

0 comments on commit 55349f4

Please sign in to comment.