BililiveRecorder/Directory.Build.props

35 lines
2.1 KiB
Plaintext
Raw Normal View History

2021-02-26 21:57:10 +08:00
<Project>
2022-05-17 01:48:50 +08:00
<PropertyGroup>
<Copyright>Copyright © 2018-2023 Genteure</Copyright>
2022-05-17 01:48:50 +08:00
<Authors>Genteure</Authors>
<Company>$(Authors)</Company>
<LangVersion>9.0</LangVersion>
<Nullable>enable</Nullable>
</PropertyGroup>
<Target Name="_DisableCommandLineWarnings" BeforeTargets="ValidateCommandLineProperties">
<!-- Disable warning message -->
<!-- warning NETSDK1179: One of '- -self-contained' or '- -no-self-contained' options are required when '- -runtime' is used. -->
<!--<Message Importance="High" Text="DEBUG1: $(_CommandLineDefinedRuntimeIdentifier) $(_CommandLineDefinedSelfContained) $(TargetFrameworkIdentifier) $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), '6.0'))"/>-->
<PropertyGroup
Condition="'$(_CommandLineDefinedRuntimeIdentifier)' == 'true' and
'$(TargetFrameworkIdentifier)' == '.NETCoreApp' and
$([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), '6.0'))">
<_CommandLineDefinedSelfContained>true</_CommandLineDefinedSelfContained>
</PropertyGroup>
<!--<Message Importance="High" Text="DEBUG12 $(_CommandLineDefinedRuntimeIdentifier) $(_CommandLineDefinedSelfContained) $(TargetFrameworkIdentifier) $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), '6.0'))"/>-->
</Target>
<ItemGroup>
<PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="3.3.3">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
2022-05-17 01:50:09 +08:00
<PackageReference Include="GitVersion.MsBuild" Version="5.10.1">
2022-05-17 01:48:50 +08:00
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<AdditionalFiles Include="$(MSBuildThisFileDirectory)BannedSymbols.txt" Link="BannedSymbols.txt"/>
</ItemGroup>
2021-02-26 21:57:10 +08:00
</Project>