ArchiSteamFarm/Directory.Build.props

89 lines
4 KiB
Text
Raw Normal View History

<Project>
2021-07-12 19:45:17 +00:00
<PropertyGroup>
2021-11-02 20:10:46 +00:00
<Version>5.1.5.4</Version>
2021-07-12 19:45:17 +00:00
</PropertyGroup>
2021-07-12 19:45:17 +00:00
<PropertyGroup>
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
<ApplicationIcon>../resources/ASF.ico</ApplicationIcon>
<Authors>JustArchi</Authors>
<Company>JustArchiNET</Company>
2021-10-11 22:57:29 +00:00
<Copyright>Copyright © 2015-$([System.DateTime]::UtcNow.Year) $(Company)</Copyright>
2021-07-12 19:45:17 +00:00
<Description>ASF is a C# application with primary purpose of idling Steam cards from multiple accounts simultaneously.</Description>
<Deterministic>true</Deterministic>
<ErrorReport>none</ErrorReport>
<LangVersion>latest</LangVersion>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<NeutralLanguage>en</NeutralLanguage>
<NoWarn>1591</NoWarn>
<Nullable>enable</Nullable>
<PackageIcon>../resources/ASF.ico</PackageIcon>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
2021-10-11 22:57:29 +00:00
<PackageProjectUrl>https://github.com/$(Company)/ArchiSteamFarm</PackageProjectUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
2021-10-11 22:57:29 +00:00
<PackageReleaseNotes>$(PackageProjectUrl)/releases</PackageReleaseNotes>
<RepositoryBranch>main</RepositoryBranch>
2021-07-12 19:45:17 +00:00
<RepositoryType>Git</RepositoryType>
2021-10-11 22:57:29 +00:00
<RepositoryUrl>$(PackageProjectUrl).git</RepositoryUrl>
2021-07-12 19:45:17 +00:00
<RollForward>LatestMajor</RollForward>
<RuntimeIdentifiers>linux-arm;linux-arm64;linux-x64;osx-x64;win-x64</RuntimeIdentifiers>
<TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
</PropertyGroup>
2021-07-12 19:45:17 +00:00
<PropertyGroup Condition="'$(ASFVariant)' != ''">
<DefineConstants>$(DefineConstants);ASF_VARIANT_$(ASFVariant.Replace('-', '_').ToUpperInvariant())</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net48' OR '$(RuntimeIdentifier)' == ''">
<DefineConstants>$(DefineConstants);TARGET_GENERIC</DefineConstants>
<TargetGeneric>true</TargetGeneric>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' != 'net48' AND ($(RuntimeIdentifier.StartsWith('win-')) OR $(RuntimeIdentifier.EndsWith('-windows')))">
<DefineConstants>$(DefineConstants);TARGET_WINDOWS</DefineConstants>
<TargetWindows>true</TargetWindows>
</PropertyGroup>
<!-- Default configuration for fast-debugging builds -->
<PropertyGroup Condition="'$(Configuration)' == 'DebugFast'">
<AnalysisMode>AllDisabledByDefault</AnalysisMode>
<DefineConstants>$(DefineConstants);DEBUG</DefineConstants>
</PropertyGroup>
2021-07-12 19:45:17 +00:00
<!-- Default configuration for release builds -->
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
2021-07-31 15:44:32 +00:00
<AssemblyOriginatorKeyFile>../resources/ArchiSteamFarm.snk.pub</AssemblyOriginatorKeyFile>
2021-07-12 19:45:17 +00:00
<DebugSymbols>false</DebugSymbols>
<DebugType>none</DebugType>
2021-07-31 15:44:32 +00:00
<PublicSign>true</PublicSign>
<SignAssembly>true</SignAssembly>
2021-07-12 19:45:17 +00:00
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
2021-07-15 21:06:16 +00:00
<WarningsAsErrors />
<WarningsNotAsErrors>CS8002</WarningsNotAsErrors>
2021-07-12 19:45:17 +00:00
</PropertyGroup>
2021-08-01 10:56:08 +00:00
<!-- Private SNK signing -->
<PropertyGroup Condition="'$(Configuration)' == 'Release' AND EXISTS('resources/ArchiSteamFarm.snk')">
<AssemblyOriginatorKeyFile>../resources/ArchiSteamFarm.snk</AssemblyOriginatorKeyFile>
<PublicSign>false</PublicSign>
</PropertyGroup>
2021-07-12 19:45:17 +00:00
<!-- Trimming features as specified on https://docs.microsoft.com/dotnet/core/deploying/trimming-options#trimming-framework-library-features and https://github.com/dotnet/runtime/blob/master/docs/workflow/trimming/feature-switches.md -->
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<DebuggerSupport>false</DebuggerSupport>
<EnableUnsafeBinaryFormatterSerialization>false</EnableUnsafeBinaryFormatterSerialization>
<EnableUnsafeUTF7Encoding>false</EnableUnsafeUTF7Encoding>
<EventSourceSupport>false</EventSourceSupport>
<HttpActivityPropagationSupport>false</HttpActivityPropagationSupport>
<TrimMode>link</TrimMode>
</PropertyGroup>
2020-11-15 00:02:17 +00:00
2021-07-12 19:45:17 +00:00
<PropertyGroup Condition="'$(OS)' == 'Windows_NT' OR '$(ASFNetFramework)' != ''">
<TargetFrameworks>net5.0;net48</TargetFrameworks>
</PropertyGroup>
2020-05-23 18:13:04 +00:00
2021-07-12 19:45:17 +00:00
<PropertyGroup Condition="'$(OS)' != 'Windows_NT' AND '$(ASFNetFramework)' == ''">
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
</Project>