-
Notifications
You must be signed in to change notification settings - Fork 353
/
Directory.Build.props
26 lines (23 loc) · 1.34 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
<Project>
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" />
<PropertyGroup>
<Copyright>$(CopyrightNetFoundation)</Copyright>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DebugType>embedded</DebugType>
<DebugSymbols>true</DebugSymbols>
<LangVersion>latest</LangVersion>
<!-- Tools and packages produced by this repository support infrastructure and are not shipping on NuGet or via any other official channel. -->
<IsShipping>false</IsShipping>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<RepositoryUrl>https://github.com/dotnet/arcade</RepositoryUrl>
<!-- Only upgrade NuGetAudit warnings to errors for official builds. -->
<WarningsNotAsErrors Condition="'$(OfficialBuild)' != 'true'">$(WarningsNotAsErrors);NU1901;NU1902;NU1903;NU1904</WarningsNotAsErrors>
<!-- TODO: Remove when the VMR uses a new bootstrap Arcade.Sdk in source-only builds that has the TFM changes in TargetFrameworkDefaults.props. -->
<NetCurrent>net10.0</NetCurrent>
<NetPrevious>net9.0</NetPrevious>
<NetToolCurrent>$(NetCurrent)</NetToolCurrent>
<NetToolMinimum Condition="'$(DotNetBuildSourceOnly)' == 'true'">$(NetToolCurrent)</NetToolMinimum>
</PropertyGroup>
</Project>