-
Notifications
You must be signed in to change notification settings - Fork 12
/
Directory.Build.props
31 lines (28 loc) · 1.02 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
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<LangVersion>7.3</LangVersion>
</PropertyGroup>
<!--
We build only for one target framework (net472), so don't append it for
compatibility reasons (scripts rely on certain file paths).
-->
<PropertyGroup>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
</PropertyGroup>
<PropertyGroup>
<WarningLevel>4</WarningLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<!-- Allow using deprecated proto fields, see (internal) -->
<WarningsNotAsErrors>CS0612</WarningsNotAsErrors>
</PropertyGroup>
<!--
In Visual Studio 2017 reference to `netstandard` might not be added
automatically. Technically only some projects need it, but just add it
everywhere for convenience.
-->
<ItemGroup Condition="'$(VisualStudioVersion)' < '16.0'">
<Reference Include="netstandard" />
</ItemGroup>
</Project>