-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
24 lines (20 loc) · 895 Bytes
/
Directory.Build.props
File metadata and controls
24 lines (20 loc) · 895 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<Project>
<PropertyGroup Condition="!$(MSBuildProjectName.EndsWith('.Tests'))">
<TargetFrameworks>netstandard2.1;net48;net8.0;net10.0</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition="$(MSBuildProjectName.EndsWith('.Tests'))">
<TargetFrameworks>net48;net8.0;net10.0</TargetFrameworks>
</PropertyGroup>
<PropertyGroup>
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
<LangVersion>14</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<PropertyGroup Condition="!$(MSBuildProjectName.EndsWith('.Tests'))">
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!-- to not require every public facing method to have an xml-doc comment -->
<WarningsNotAsErrors>$(WarningsNotAsErrors);1591</WarningsNotAsErrors>
</PropertyGroup>
</Project>