Files
ArchiSteamFarm/Directory.Build.props

98 lines
4.5 KiB
Plaintext
Raw Permalink Normal View History

<Project>
2021-07-12 21:45:17 +02:00
<PropertyGroup>
2025-12-15 16:57:40 +01:00
<Version>6.3.1.5</Version>
2021-07-12 21:45:17 +02:00
</PropertyGroup>
2021-07-12 21:45:17 +02:00
<PropertyGroup>
2022-11-14 23:42:44 +01:00
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
2021-07-12 21:45:17 +02:00
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
<ApplicationIcon>../resources/ASF.ico</ApplicationIcon>
<Authors>JustArchi</Authors>
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
2021-07-12 21:45:17 +02:00
<Company>JustArchiNET</Company>
2021-10-12 00:57:29 +02:00
<Copyright>Copyright © 2015-$([System.DateTime]::UtcNow.Year) $(Company)</Copyright>
2021-07-12 21:45:17 +02: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>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
2025-01-05 16:51:43 +01:00
<LangVersion>preview</LangVersion>
2021-07-12 21:45:17 +02:00
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
<NeutralLanguage>en</NeutralLanguage>
2025-01-04 19:30:24 +01:00
<NoWarn>CA1028,CA1031,CS1591</NoWarn>
2021-07-12 21:45:17 +02:00
<Nullable>enable</Nullable>
<PackageIcon>../resources/ASF.ico</PackageIcon>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
2021-10-12 00:57:29 +02:00
<PackageProjectUrl>https://github.com/$(Company)/ArchiSteamFarm</PackageProjectUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
2021-10-12 00:57:29 +02:00
<PackageReleaseNotes>$(PackageProjectUrl)/releases</PackageReleaseNotes>
<PublishDocumentationFile>false</PublishDocumentationFile>
<PublishDocumentationFiles>false</PublishDocumentationFiles>
<RepositoryBranch>main</RepositoryBranch>
2021-07-12 21:45:17 +02:00
<RepositoryType>Git</RepositoryType>
2021-10-12 00:57:29 +02:00
<RepositoryUrl>$(PackageProjectUrl).git</RepositoryUrl>
2021-07-12 21:45:17 +02:00
<RollForward>LatestMajor</RollForward>
2023-02-09 14:08:39 +01:00
<RuntimeIdentifiers>linux-arm;linux-arm64;linux-x64;osx-arm64;osx-x64;win-arm64;win-x64</RuntimeIdentifiers>
<TargetFramework>net10.0</TargetFramework>
2021-07-12 21:45:17 +02:00
<TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
</PropertyGroup>
2021-07-12 21:45:17 +02:00
<PropertyGroup Condition="'$(ASFVariant)' != ''">
<DefineConstants>$(DefineConstants);ASF_VARIANT_$(ASFVariant.Replace('-', '_').ToUpperInvariant())</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(PublishTrimmed)' == 'true'">
<DefineConstants>$(DefineConstants);ASF_RUNTIME_TRIMMED</DefineConstants>
2024-11-14 12:02:18 +01:00
<!-- Required for protobuf-net -->
<_DefaultValueAttributeSupport>true</_DefaultValueAttributeSupport>
<!-- TODO: Workaround for https://github.com/dotnet/runtime/issues/118630, evaluate if possible to remove later -->
<EnableConfigurationBindingGenerator>false</EnableConfigurationBindingGenerator>
</PropertyGroup>
<!-- Default configuration for fast-debugging builds -->
<PropertyGroup Condition="'$(Configuration)' == 'DebugFast'">
<AnalysisMode>AllDisabledByDefault</AnalysisMode>
<DefineConstants>$(DefineConstants);DEBUG</DefineConstants>
</PropertyGroup>
2021-07-12 21:45:17 +02:00
<!-- Default configuration for release builds -->
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
2021-07-12 21:45:17 +02:00
<DebugSymbols>false</DebugSymbols>
<DebugType>none</DebugType>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
2021-07-15 23:06:16 +02:00
<WarningsAsErrors />
2024-07-20 01:21:06 +02:00
<WarningsNotAsErrors>CS8002,IL2026,IL2104,NU1901,NU1902,NU1903,NU1904</WarningsNotAsErrors>
2021-07-12 21:45:17 +02:00
</PropertyGroup>
<!-- Enable public signing -->
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<AssemblyOriginatorKeyFile>../resources/ArchiSteamFarm.snk.pub</AssemblyOriginatorKeyFile>
<DefineConstants>$(DefineConstants);ASF_SIGNED_BUILD</DefineConstants>
<PublicSign>true</PublicSign>
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<!-- Private SNK signing, if provided with secret -->
2021-08-01 12:56:08 +02:00
<PropertyGroup Condition="'$(Configuration)' == 'Release' AND EXISTS('resources/ArchiSteamFarm.snk')">
<AssemblyOriginatorKeyFile>../resources/ArchiSteamFarm.snk</AssemblyOriginatorKeyFile>
<DefineConstants>$(DefineConstants);ASF_SIGNED_BUILD</DefineConstants>
2021-08-01 12:56:08 +02:00
<PublicSign>false</PublicSign>
<SignAssembly>true</SignAssembly>
2021-08-01 12:56:08 +02:00
</PropertyGroup>
<!-- Trimming functionality as described on https://learn.microsoft.com/dotnet/core/deploying/trimming/trimming-options -->
2021-07-12 21:45:17 +02:00
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<DebuggerSupport>false</DebuggerSupport>
<EnableUnsafeBinaryFormatterSerialization>false</EnableUnsafeBinaryFormatterSerialization>
<EnableUnsafeUTF7Encoding>false</EnableUnsafeUTF7Encoding>
<EventSourceSupport>false</EventSourceSupport>
<HttpActivityPropagationSupport>false</HttpActivityPropagationSupport>
<MetadataUpdaterSupport>false</MetadataUpdaterSupport>
<StackTraceSupport>false</StackTraceSupport>
<UseNativeHttpHandler>true</UseNativeHttpHandler>
<TrimMode>partial</TrimMode>
2021-07-12 21:45:17 +02:00
</PropertyGroup>
</Project>