-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
23 lines (19 loc) · 912 Bytes
/
Directory.Build.props
File metadata and controls
23 lines (19 loc) · 912 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<Project>
<Import Project="build\version.props" />
<PropertyGroup>
<LangVersion>9.0</LangVersion>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarnOnPackingNonPackableProject>false</WarnOnPackingNonPackableProject>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' != 'Release' ">
<WarningsNotAsErrors>CS1591;CS1573;CS0436</WarningsNotAsErrors>
</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>
</Project>