-
Notifications
You must be signed in to change notification settings - Fork 10
/
Directory.Build.props
46 lines (33 loc) · 1.45 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
34
35
36
37
38
39
40
41
42
43
44
45
46
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<MSBuildTreatWarningsAsErrors>true</MSBuildTreatWarningsAsErrors>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<!-- Use the latest version of C# available -->
<LangVersion>Latest</LangVersion>
<!-- Produce deterministic binaries -->
<Deterministic>true</Deterministic>
<!-- Produce ref assemblies to improve incremental builds -->
<ProduceReferenceAssembly>true</ProduceReferenceAssembly>
<!-- Enable optimized NuGet restore -->
<RestoreUseStaticGraphEvaluation>true</RestoreUseStaticGraphEvaluation>
<!-- TODO
<Nullable>Enable</Nullable>
-->
<BaseArtifactsPath>$(MSBuildThisFileDirectory)artifacts\$(Configuration)\</BaseArtifactsPath>
<!-- Enabled the built-in analyzers -->
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<!-- People know that they're using preview versions -->
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
<DebugType>embedded</DebugType>
<!-- Use Directory.Packages.props to manage versions -->
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<CentralPackageTransitivePinningEnabled>true</CentralPackageTransitivePinningEnabled>
</PropertyGroup>
<!-- StyleCop -->
<ItemGroup>
<AdditionalFiles Include="$(MSBuildThisFileDirectory)\build\stylecop.json">
<Visible>false</Visible>
</AdditionalFiles>
</ItemGroup>
</Project>