-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDirectory.Build.props
33 lines (28 loc) · 1.41 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
27
28
29
30
31
32
33
<Project>
<PropertyGroup>
<!-- Use C# 9 for all projects -->
<LangVersion>9.0</LangVersion>
<!-- Enable nullables -->
<Nullable>enable</Nullable>
<!-- Disable certain warnings -->
<NoWarn>CS1591;</NoWarn>
<!-- If no Configuration is provided we default to debug -->
<Configuration Condition="$(Configuration) == ''">Debug</Configuration>
<!-- SolutionDir is not defined when building projects explicitly -->
<SolutionDir>$(MSBuildThisFileDirectory)</SolutionDir>
<!-- Output paths -->
<BaseIntermediateOutputPath>$(SolutionDir)\artifacts\obj\$(MSBuildProjectName)\$(Configuration)</BaseIntermediateOutputPath>
<IntermediateOutputPath>$(BaseIntermediateOutputPath)</IntermediateOutputPath>
<MSBuildProjectExtensionsPath>$(IntermediateOutputPath)</MSBuildProjectExtensionsPath>
<OutputPath>$(SolutionDir)\artifacts\bin\$(MSBuildProjectName)\$(Configuration)</OutputPath>
<!--<OutDir>$(OutputPath)</OutDir>-->
<!--<DocumentationFile>$(SolutionDir)artifacts\doc\$(MSBuildProjectName)\$(Configuration)\doc.xml</DocumentationFile>-->
<!-- Nuget -->
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Nerdbank.GitVersioning" Version="3.4.194" PrivateAssets="all" />
</ItemGroup>
</Project>