mirror of
https://github.com/BililiveRecorder/BililiveRecorder.git
synced 2024-11-16 11:42:22 +08:00
35 lines
2.1 KiB
XML
35 lines
2.1 KiB
XML
<Project>
|
|
<PropertyGroup>
|
|
<Copyright>Copyright © 2018-2023 Genteure</Copyright>
|
|
<Authors>Genteure</Authors>
|
|
<Company>$(Authors)</Company>
|
|
<LangVersion>11.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>
|
|
<PackageReference Include="GitVersion.MsBuild" Version="5.10.1">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<AdditionalFiles Include="$(MSBuildThisFileDirectory)BannedSymbols.txt" Link="BannedSymbols.txt"/>
|
|
</ItemGroup>
|
|
</Project>
|