-
Notifications
You must be signed in to change notification settings - Fork 7
/
Directory.Build.props
26 lines (24 loc) · 1.13 KB
/
Directory.Build.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<Project>
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>12.0</LangVersion>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<IsPackable>false</IsPackable>
<IncludeSymbols>false</IncludeSymbols>
<WarnOnPackingNonPackableProject>false</WarnOnPackingNonPackableProject>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!-- CA1707: Identifiers should not contain underscores -->
<!-- CS1591: Missing XML comments -->
<!-- IDE0005: Using directive is unnecessary -->
<NoWarn>$(NoWarn);CA1707;CS1591;IDE0005</NoWarn>
</PropertyGroup>
<PropertyGroup>
<!-- Assigns SolutionDir when building individual projects -->
<SolutionDir Condition=" '$(SolutionDir)' == '' ">$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)\'))</SolutionDir>
<BuildDirectory>$(MSBuildThisFileDirectory)build\</BuildDirectory>
<ArtifactsDirectory>$(SolutionDir)artifacts\</ArtifactsDirectory>
</PropertyGroup>
<Import Project="$(BuildDirectory)codeanalysis.props" />
<Import Project="$(BuildDirectory)version.props" />
</Project>