-
Notifications
You must be signed in to change notification settings - Fork 65
/
Copy pathDirectory.Build.props
50 lines (43 loc) · 1.6 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
47
48
49
50
<?xml version="1.0" encoding="utf-8"?>
<Project>
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" />
<PropertyGroup Condition="'$(CopyrightMicrosoft)' != ''">
<Copyright>$(CopyrightMicrosoft)</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>
<PropertyGroup>
<Nullable>enable</Nullable>
<LangVersion>12</LangVersion>
</PropertyGroup>
<PropertyGroup>
<StrongNameKeyId>MicrosoftAspNetCore</StrongNameKeyId>
</PropertyGroup>
<PropertyGroup>
<SolutionRootDirectory>$(MSBuildThisFileDirectory)</SolutionRootDirectory>
</PropertyGroup>
<PropertyGroup Label="Package and Assembly Metadata">
<Product>Microsoft ASP.NET Core</Product>
</PropertyGroup>
<PropertyGroup Label="Analyzer Settings">
<WarningLevel>9999</WarningLevel>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<AnalysisLevel>latest</AnalysisLevel>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
</PropertyGroup>
<PropertyGroup Label="Warning Suppressions">
<!--
Suppress a warning about upcoming deprecation of PackageLicenseUrl. When embedding licenses are supported,
replace PackageLicenseUrl with PackageLicenseExpression.
-->
<NoWarn>$(NoWarn);NU5125</NoWarn>
<!--
Suppress a warning about the deprecation of netcoreapp2.1 since some packages/samples here target it
-->
<NoWarn>$(NoWarn);NETSDK1138</NoWarn>
<!--
Suppress warning for internal experimental APIs
-->
<NoWarn>$(NoWarn);SYSWEB1001</NoWarn>
</PropertyGroup>
</Project>