2018-12-02 03:25:55 +03:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Project>
|
|
|
|
<!--
|
2019-05-29 23:06:38 +03:00
|
|
|
We don't follow Arcade conventions for project naming.
|
2018-12-02 03:25:55 +03:00
|
|
|
-->
|
|
|
|
<PropertyGroup Condition="'$(IsUnitTestProject)' == ''">
|
|
|
|
<IsUnitTestProject>false</IsUnitTestProject>
|
|
|
|
<IsUnitTestProject Condition="$(MSBuildProjectName.EndsWith('.Test'))">true</IsUnitTestProject>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" />
|
|
|
|
<Import Project="eng\MPack.props" />
|
2019-09-12 20:07:08 +03:00
|
|
|
<Import Project="eng\targets\Npm.Common.props" Condition="'$(MSBuildProjectExtension)' == '.npmproj'" />
|
2018-12-02 03:25:55 +03:00
|
|
|
|
|
|
|
<Import
|
|
|
|
Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), AspNetCoreSettings.props))\AspNetCoreSettings.props"
|
|
|
|
Condition=" '$(CI)' != 'true' AND '$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), AspNetCoreSettings.props))' != '' " />
|
2019-08-31 08:02:41 +03:00
|
|
|
|
2018-12-02 03:25:55 +03:00
|
|
|
<PropertyGroup Label="Build Settings">
|
2019-05-17 23:14:41 +03:00
|
|
|
<LangVersion>8.0</LangVersion>
|
2018-12-06 06:15:44 +03:00
|
|
|
<StrongNameKeyId>MicrosoftAspNetCore</StrongNameKeyId>
|
2018-12-02 03:25:55 +03:00
|
|
|
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
|
|
|
<DebugType>portable</DebugType>
|
2018-12-07 09:09:43 +03:00
|
|
|
<PublishWindowsPdb>true</PublishWindowsPdb>
|
2019-05-03 22:04:53 +03:00
|
|
|
<GenerateResxSource>true</GenerateResxSource>
|
|
|
|
<GenerateResxSourceEmitFormatMethods>true</GenerateResxSourceEmitFormatMethods>
|
2019-05-29 23:06:38 +03:00
|
|
|
<ExcludeFromSourceBuild Condition="'$(IsUnitTestProject)' == 'true'">true</ExcludeFromSourceBuild>
|
2019-08-31 08:02:41 +03:00
|
|
|
|
|
|
|
<!-- Embed source files that are not tracked by the source control manager in the PDB. -->
|
|
|
|
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
2019-09-13 08:02:18 +03:00
|
|
|
|
|
|
|
<!-- Working around https://github.com/NuGet/Home/issues/8467 -->
|
|
|
|
<NoWarn>$(NoWarn);NU5131</NoWarn>
|
2019-10-01 18:06:56 +03:00
|
|
|
|
|
|
|
<!-- Working around https://github.com/microsoft/msbuild/pull/4764 -->
|
|
|
|
<EmbeddedResourceUseDependentUponConvention>false</EmbeddedResourceUseDependentUponConvention>
|
2020-08-05 00:20:34 +03:00
|
|
|
<CodeAnalysisRuleSet>$(RepoRoot)src/Razor/Microsoft.AspNetCore.Razor.Basic.ruleset</CodeAnalysisRuleSet>
|
2018-12-02 03:25:55 +03:00
|
|
|
</PropertyGroup>
|
|
|
|
|
2020-08-05 00:20:34 +03:00
|
|
|
<ItemGroup>
|
|
|
|
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="$(Tooling_MicrosoftCodeAnalysisAnalyzersPackageVersion)" NoWarn="NU1608" />
|
|
|
|
<PackageReference Include="Microsoft.NetCore.Analyzers" Version="$(Tooling_MicrosoftNetCoreAnalyzersPackageVersion)" NoWarn="NU1608" />
|
|
|
|
</ItemGroup>
|
|
|
|
|
2018-12-02 03:25:55 +03:00
|
|
|
<PropertyGroup Label="Package and Assembly Metadata">
|
2019-05-29 23:06:38 +03:00
|
|
|
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
|
2018-12-02 03:25:55 +03:00
|
|
|
<Product>Microsoft ASP.NET Core</Product>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<PropertyGroup Label="Warning Suppressions">
|
2019-05-29 23:06:38 +03:00
|
|
|
<!--
|
2018-12-02 03:25:55 +03:00
|
|
|
Suppress warnings about assembly conflicts. This happens for assemblies that ship in VS so it's irrelevant.
|
|
|
|
-->
|
|
|
|
<NoWarn>$(NoWarn);MSB3277</NoWarn>
|
2019-09-19 02:27:54 +03:00
|
|
|
<!--
|
2020-01-09 03:51:55 +03:00
|
|
|
Ignore PackageIconUrl deprecation. Work to convert to embedded icons is tracked in https://github.com/dotnet/aspnetcore-Internal/issues/3146.
|
2019-09-19 02:27:54 +03:00
|
|
|
-->
|
|
|
|
<NoWarn>$(NoWarn);NU5048</NoWarn>
|
2018-12-02 03:25:55 +03:00
|
|
|
</PropertyGroup>
|
2019-05-29 23:06:38 +03:00
|
|
|
</Project>
|