razor-tooling/Directory.Build.targets

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

<?xml version="1.0" encoding="utf-8"?>
<Project>
<Import Project="Sdk.targets" Sdk="Microsoft.DotNet.Arcade.Sdk" />
<PropertyGroup>
<PackageVersion Condition=" '$(PackageVersion)' == '' ">$(Version)</PackageVersion>
</PropertyGroup>
<Import Project="eng\targets\Packaging.targets" />
<!-- Workaround https://github.com/dotnet/cli/issues/10528 -->
<PropertyGroup>
<BundledNETCorePlatformsPackageVersion>$(MicrosoftNETCorePlatformsPackageVersion)</BundledNETCorePlatformsPackageVersion>
</PropertyGroup>
2021-02-05 20:30:30 +03:00
<!-- Global Analyzer Config -->
<ItemGroup>
<!-- Always include Common.globalconfig -->
<EditorConfigFiles Include="$(RepositoryEngineeringDir)config\globalconfigs\Common.globalconfig" />
<!-- Include Shipping.globalconfig for shipping projects -->
<EditorConfigFiles Condition="'$(IsShipping)' == 'true'" Include="$(RepositoryEngineeringDir)config\globalconfigs\Shipping.globalconfig" />
<!-- Include NonShipping.globalconfig for non-shipping projects, except for API shims -->
<EditorConfigFiles Condition="'$(IsShipping)' != 'true' AND '$(IsApiShim)' != 'true'" Include="$(RepositoryEngineeringDir)config\globalconfigs\NonShipping.globalconfig" />
<!-- Include ApiShim.globalconfig for API shim projects -->
<EditorConfigFiles Condition="'$(IsApiShim)' == 'true'" Include="$(RepositoryEngineeringDir)config\globalconfigs\ApiShim.globalconfig" />
2021-02-05 20:30:30 +03:00
</ItemGroup>
[main] Update dependencies from dotnet/aspnetcore (#3492) [main] Update dependencies from dotnet/aspnetcore - Coherency Updates: - Microsoft.Extensions.Configuration.Json: from 6.0.0-preview.5.21219.10 to 6.0.0-preview.5.21221.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.Logging: from 6.0.0-preview.5.21219.10 to 6.0.0-preview.5.21221.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Diagnostics.DiagnosticSource: from 6.0.0-preview.5.21219.10 to 6.0.0-preview.5.21221.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Resources.Extensions: from 6.0.0-preview.5.21219.10 to 6.0.0-preview.5.21221.1 (parent: Microsoft.CodeAnalysis.Razor) - System.Text.Encodings.Web: from 6.0.0-preview.5.21219.10 to 6.0.0-preview.5.21221.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.Extensions.DependencyModel: from 6.0.0-preview.5.21219.10 to 6.0.0-preview.5.21221.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Ref: from 6.0.0-preview.5.21219.10 to 6.0.0-preview.5.21221.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.BrowserDebugHost.Transport: from 6.0.0-preview.5.21219.10 to 6.0.0-preview.5.21221.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.App.Runtime.win-x64: from 6.0.0-preview.5.21219.10 to 6.0.0-preview.5.21221.1 (parent: Microsoft.CodeAnalysis.Razor) - Microsoft.NETCore.Platforms: from 6.0.0-preview.5.21219.10 to 6.0.0-preview.5.21221.1 (parent: Microsoft.CodeAnalysis.Razor) - Add RemoveDevicePlatformSupport to rzls.csproj - Adding RemoveDevicePlatformSupport definition
2021-04-22 00:23:29 +03:00
<!--
Where necessary, do not pretend we support iOS or Android. This file is imported after project
has a chance to set $(RemoveDevicePlatformSupport) and long after @(SupportedPlatforms) is initialized.
-->
<ItemGroup Condition=" '$(RemoveDevicePlatformSupport)' == 'true' ">
<SupportedPlatform Remove="Android" />
<SupportedPlatform Remove="iOS" />
</ItemGroup>
<Target Name="GetCustomAssemblyAttributes"
BeforeTargets="GetAssemblyAttributes"
Condition=" '$(MSBuildProjectExtension)' == '.csproj' "
DependsOnTargets="InitializeSourceControlInformation">
<ItemGroup>
<AssemblyAttribute Include="System.Reflection.AssemblyMetadataAttribute" Condition="'$(Serviceable)' == 'true'">
<_Parameter1>Serviceable</_Parameter1>
<_Parameter2>True</_Parameter2>
</AssemblyAttribute>
</ItemGroup>
</Target>
2019-05-29 23:06:38 +03:00
</Project>