AspLabs/Directory.Build.props

38 строки
1.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Project>
<!-- Leave this file here, even if it's empty. It stops chaining imports. -->
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" />
<PropertyGroup Condition="'$(CopyrightMicrosoft)' != ''">
<Copyright>$(CopyrightMicrosoft)</Copyright>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
</PropertyGroup>
<PropertyGroup>
<StrongNameKeyId>MicrosoftAspNetCore</StrongNameKeyId>
</PropertyGroup>
<PropertyGroup Label="Package and Assembly Metadata">
<Product>Microsoft ASP.NET Core</Product>
</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>
</PropertyGroup>
<!-- Bump NETStandard.Library to a version that doesn't transitively reference a System.Net.Http that causes CG alerts -->
<ItemGroup Condition="'$(IsUnitTestProject)' == 'true'">
<PackageReference Include="NETStandard.Library" Version="2.0.3" />
</ItemGroup>
</Project>