-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
18 lines (18 loc) · 922 Bytes
/
Copy pathDirectory.Build.props
File metadata and controls
18 lines (18 loc) · 922 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<Project>
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<!-- Enabled so IDE0005 (unused usings) actually reports; documenting every public
member is not a project goal, hence CS1591 is suppressed. -->
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);CS1591</NoWarn>
<!-- Only low (NU1901) and moderate (NU1902) advisory severities are excluded from
TreatWarningsAsErrors, so unrelated low-risk advisories do not break local builds.
High (NU1903) and critical (NU1904) advisories must still fail the build. -->
<WarningsNotAsErrors>NU1901;NU1902</WarningsNotAsErrors>
</PropertyGroup>
</Project>