-
Notifications
You must be signed in to change notification settings - Fork 60
/
Copy pathDirectory.Build.props
31 lines (25 loc) · 1.3 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
<Project>
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" />
<PropertyGroup>
<!-- Disable TFM filtering because it filteres old netstandard TFMs.
Once all old netstandard TFMs are cleanup, this could be removed. -->
<NoTargetFrameworkFiltering>true</NoTargetFrameworkFiltering>
</PropertyGroup>
<PropertyGroup>
<Copyright>$(CopyrightNetFoundation)</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<IsPackable>true</IsPackable>
<!--
Arcade defaults Serviceable to 'true'. Reset it, to use the value in the nuspec. Improves
equality with real packages.
-->
<Serviceable />
<!-- TODO: Remove netstandard1.x TFMs. https://github.com/dotnet/source-build/issues/4482 -->
<CheckNotRecommendedTargetFramework>false</CheckNotRecommendedTargetFramework>
<CustomizationsPrefix>Customizations</CustomizationsPrefix>
<CustomizationsPropsFile>$(CustomizationsPrefix).props</CustomizationsPropsFile>
<CustomizationsSourceFile>$(CustomizationsPrefix).cs</CustomizationsSourceFile>
<!-- Only upgrade NuGetAudit warnings to errors for official builds. -->
<WarningsNotAsErrors Condition="'$(OfficialBuild)' != 'true'">$(WarningsNotAsErrors);NU1901;NU1902;NU1903;NU1904</WarningsNotAsErrors>
</PropertyGroup>
</Project>