ArchiSteamFarm/Directory.Build.props

124 lines
6.6 KiB
Text
Raw Normal View History

<Project>
2021-07-12 19:45:17 +00:00
<PropertyGroup>
2023-03-15 15:07:24 +00:00
<Version>5.4.4.1</Version>
2021-07-12 19:45:17 +00:00
</PropertyGroup>
2021-07-12 19:45:17 +00:00
<PropertyGroup>
2022-11-14 22:42:44 +00:00
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
2021-07-12 19:45:17 +00:00
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
<ApplicationIcon>../resources/ASF.ico</ApplicationIcon>
<Authors>JustArchi</Authors>
<CheckForOverflowUnderflow>true</CheckForOverflowUnderflow>
2021-07-12 19:45:17 +00:00
<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,NU1507</NoWarn>
2021-07-12 19:45:17 +00:00
<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>
2023-02-09 13:08:39 +00:00
<RuntimeIdentifiers>linux-arm;linux-arm64;linux-x64;osx-arm64;osx-x64;win-arm64;win-x64</RuntimeIdentifiers>
<TargetFrameworks>net7.0</TargetFrameworks>
2021-07-12 19:45:17 +00:00
<TargetLatestRuntimePatch>true</TargetLatestRuntimePatch>
</PropertyGroup>
2022-11-24 23:51:28 +00:00
<PropertyGroup Condition="'$(OS)' == 'Windows_NT' OR '$(ASFNetFramework)' != ''">
<TargetFrameworks>$(TargetFrameworks);net481</TargetFrameworks>
2022-11-24 23:51:28 +00:00
</PropertyGroup>
<PropertyGroup Condition="'$(ASFNetStandard)' != ''">
<TargetFrameworks>$(TargetFrameworks);netstandard2.1</TargetFrameworks>
2022-11-24 23:51:28 +00:00
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net481' OR '$(TargetFramework)' == 'netstandard2.1'">
<PackageReference Include="JustArchiNET.Madness" />
<PackageReference Include="TA.System.Runtime.CompilerServices.RuntimeHelpers.GetSubArray" />
<Using Include="JustArchiNET.Madness" />
<Using Include="JustArchiNET.Madness.ArgumentNullExceptionMadness.ArgumentNullException" Alias="ArgumentNullException" />
2022-04-02 14:41:48 +00:00
<Using Include="JustArchiNET.Madness.ArrayMadness.Array" Alias="Array" />
2021-11-18 20:33:06 +00:00
<Using Include="JustArchiNET.Madness.ConvertMadness.Convert" Alias="Convert" />
<Using Include="JustArchiNET.Madness.DirectoryInfoMadness.DirectoryInfo" Alias="DirectoryInfo" />
<Using Include="JustArchiNET.Madness.DirectoryMadness.Directory" Alias="Directory" />
2022-01-23 00:37:43 +00:00
<Using Include="JustArchiNET.Madness.EnumMadness.Enum" Alias="Enum" />
2021-11-11 22:36:48 +00:00
<Using Include="JustArchiNET.Madness.EnvironmentMadness.Environment" Alias="Environment" />
<Using Include="JustArchiNET.Madness.FileInfoMadness.FileInfo" Alias="FileInfo" />
<Using Include="JustArchiNET.Madness.FileMadness.File" Alias="File" />
<Using Include="JustArchiNET.Madness.FileMadness.UnixFileMode" Alias="UnixFileMode" />
<Using Include="JustArchiNET.Madness.HashCodeMadness.HashCode" Alias="HashCode" />
<Using Include="JustArchiNET.Madness.HMACSHA1Madness.HMACSHA1" Alias="HMACSHA1" />
<Using Include="JustArchiNET.Madness.HttpRequestExceptionMadness.HttpRequestException" Alias="HttpRequestException" />
2021-11-11 22:36:48 +00:00
<Using Include="JustArchiNET.Madness.OperatingSystemMadness.OperatingSystem" Alias="OperatingSystem" />
<Using Include="JustArchiNET.Madness.PathMadness.Path" Alias="Path" />
<Using Include="JustArchiNET.Madness.QuicExceptionMadness.QuicException" Alias="QuicException" />
2021-11-11 19:14:32 +00:00
<Using Include="JustArchiNET.Madness.RandomMadness.Random" Alias="Random" />
<Using Include="JustArchiNET.Madness.SHA256Madness.SHA256" Alias="SHA256" />
<Using Include="JustArchiNET.Madness.SHA512Madness.SHA512" Alias="SHA512" />
<Using Include="JustArchiNET.Madness.StringMadness.String" Alias="String" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.1'">
<Using Include="JustArchiNET.Madness.NewtonsoftJsonMadness.JsonTextReader" Alias="JsonTextReader" />
<Using Include="JustArchiNET.Madness.NewtonsoftJsonMadness.JsonTextWriter" Alias="JsonTextWriter" />
</ItemGroup>
2021-07-12 19:45:17 +00:00
<PropertyGroup Condition="'$(ASFVariant)' != ''">
<DefineConstants>$(DefineConstants);ASF_VARIANT_$(ASFVariant.Replace('-', '_').ToUpperInvariant())</DefineConstants>
</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'">
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
2021-07-12 19:45:17 +00:00
<DebugSymbols>false</DebugSymbols>
<DebugType>none</DebugType>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
2021-07-15 21:06:16 +00:00
<WarningsAsErrors />
2022-11-16 11:33:17 +00:00
<WarningsNotAsErrors>CS8002,IL2026,IL2057,IL2072,IL2075,IL2104</WarningsNotAsErrors>
2021-07-12 19:45:17 +00:00
</PropertyGroup>
<!-- Enable public signing if not part of Visual Studio, which is too stupid to understand what public signing is -->
<PropertyGroup Condition="'$(Configuration)' == 'Release' AND '$(BuildingInsideVisualStudio)' != 'true'">
<AssemblyOriginatorKeyFile>../resources/ArchiSteamFarm.snk.pub</AssemblyOriginatorKeyFile>
<DefineConstants>$(DefineConstants);ASF_SIGNED_BUILD</DefineConstants>
<PublicSign>true</PublicSign>
<SignAssembly>true</SignAssembly>
</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>
<DefineConstants>$(DefineConstants);ASF_SIGNED_BUILD</DefineConstants>
2021-08-01 10:56:08 +00:00
<PublicSign>false</PublicSign>
<SignAssembly>true</SignAssembly>
2021-08-01 10:56:08 +00:00
</PropertyGroup>
<!-- Trimming functionality as described on https://learn.microsoft.com/dotnet/core/deploying/trimming/trimming-options -->
2021-07-12 19:45:17 +00:00
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<DebuggerSupport>false</DebuggerSupport>
<EnableUnsafeBinaryFormatterSerialization>false</EnableUnsafeBinaryFormatterSerialization>
<EnableUnsafeUTF7Encoding>false</EnableUnsafeUTF7Encoding>
<EventSourceSupport>false</EventSourceSupport>
<HttpActivityPropagationSupport>false</HttpActivityPropagationSupport>
<MetadataUpdaterSupport>false</MetadataUpdaterSupport>
<UseNativeHttpHandler>true</UseNativeHttpHandler>
<TrimMode>partial</TrimMode>
2021-07-12 19:45:17 +00:00
</PropertyGroup>
</Project>