razor-tooling/Directory.Build.props

66 строки
3.1 KiB
Plaintext
Исходник Обычный вид История

<?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.
-->
<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" />
<Import Project="eng\targets\Npm.Common.props" Condition="'$(MSBuildProjectExtension)' == '.npmproj'" />
<Import
Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), AspNetCoreSettings.props))\AspNetCoreSettings.props"
Condition=" '$(CI)' != 'true' AND '$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), AspNetCoreSettings.props))' != '' " />
<PropertyGroup Label="Build Settings">
2022-03-10 00:42:39 +03:00
<LangVersion>preview</LangVersion>
<Nullable>enable</Nullable>
2021-02-05 21:38:10 +03:00
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<StrongNameKeyId>MicrosoftAspNetCore</StrongNameKeyId>
2022-04-28 23:27:10 +03:00
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DebugType>portable</DebugType>
<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>
[master] Update dependencies from dotnet/arcade dotnet/aspnetcore (#2658) [master] Update dependencies from dotnet/arcade dotnet/aspnetcore - Coherency Updates: - Microsoft.Extensions.Configuration.Json: from 6.0.0-alpha.1.20507.4 to 6.0.0-alpha.1.20525.3 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.Logging: from 6.0.0-alpha.1.20507.4 to 6.0.0-alpha.1.20525.3 (parent: Microsoft.CodeAnalysis.Razor) - System.Diagnostics.DiagnosticSource: from 6.0.0-alpha.1.20507.4 to 6.0.0-alpha.1.20525.3 (parent: Microsoft.CodeAnalysis.Razor) - System.Resources.Extensions: from 6.0.0-alpha.1.20507.4 to 6.0.0-alpha.1.20525.3 (parent: Microsoft.CodeAnalysis.Razor) - System.Text.Encodings.Web: from 6.0.0-alpha.1.20507.4 to 6.0.0-alpha.1.20525.3 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.DependencyModel: from 6.0.0-alpha.1.20507.4 to 6.0.0-alpha.1.20525.3 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Ref: from 6.0.0-alpha.1.20507.4 to 6.0.0-alpha.1.20525.3 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Internal: from 6.0.0-alpha.1.20507.4 to 6.0.0-alpha.1.20525.3 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Runtime.win-x64: from 6.0.0-alpha.1.20507.4 to 6.0.0-alpha.1.20525.3 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.Platforms: from 6.0.0-alpha.1.20507.4 to 6.0.0-alpha.1.20525.3 (parent: Microsoft.CodeAnalysis.Razor) - Merge branch 'master' into darc-master-7f5d6927-fec8-4156-805b-6521c68ceb00 - Transplant BenchmarkRunner sources from dotnet/aspnetcore - Update BenchmarkDotnet package version - latest version on NuGet.org - also what we're using in dotnet/aspnetcore - compatible with transferred `BenchmarkRunner` sources
2020-10-27 21:19:50 +03:00
<SharedSourceRoot>$(MSBuildThisFileDirectory)src\Shared\</SharedSourceRoot>
<!-- Embed source files that are not tracked by the source control manager in the PDB. -->
<EmbedUntrackedSources>true</EmbedUntrackedSources>
2022-04-28 23:27:10 +03:00
<!-- Working around https://github.com/dotnet/sdk/issues/24747 -->
<NoWarn>$(NoWarn);NU1505</NoWarn>
<!-- Working around https://github.com/microsoft/msbuild/pull/4764 -->
<EmbeddedResourceUseDependentUponConvention>false</EmbeddedResourceUseDependentUponConvention>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="$(Tooling_MicrosoftCodeAnalysisAnalyzersPackageVersion)" NoWarn="NU1608" />
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="$(Tooling_MicrosoftCodeAnalysisNetAnalyzersPackageVersion)" NoWarn="NU1608" />
<PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="$(Tooling_MicrosoftCodeAnalysisBannedApiAnalyzersPackageVersion)" />
2021-02-09 02:21:45 +03:00
<PackageReference Include="Roslyn.Diagnostics.Analyzers" Version="$(Tooling_RoslynDiagnosticsAnalyzersPackageVersion)" />
</ItemGroup>
<ItemGroup>
<AdditionalFiles Include="$(MSBuildThisFileDirectory)eng\BannedSymbols.txt" />
</ItemGroup>
<PropertyGroup Label="Package and Assembly Metadata">
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Product>Microsoft ASP.NET Core</Product>
</PropertyGroup>
<PropertyGroup Label="Warning Suppressions">
2019-05-29 23:06:38 +03:00
<!--
Suppress warnings about assembly conflicts. This happens for assemblies that ship in VS so it's irrelevant.
-->
<NoWarn>$(NoWarn);MSB3277</NoWarn>
</PropertyGroup>
2019-05-29 23:06:38 +03:00
</Project>