build: Extend NoWarn

- Amend existing NoWarn if set
- Ignore out of support target framework warning
This commit is contained in:
Michael Croes
2023-07-28 23:57:55 +02:00
parent 6e103cea63
commit e26860b0c0

View File

@@ -21,7 +21,7 @@
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>CS1591</NoWarn>
<NoWarn>$(NoWarn);CS1591;NETSDK1138</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net452' Or '$(TargetFramework)' == 'net462' Or '$(TargetFramework)' == 'netstandard2.0' ">