From 80daf47f602843fb74c194d9c408f712d09de077 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Sat, 23 May 2020 20:11:31 +0200 Subject: [PATCH] Unify common ASF csproj properties under Directory.Build.props --- ...eamFarm.CustomPlugins.ExamplePlugin.csproj | 31 ------------- ...iSteamFarm.CustomPlugins.PeriodicGC.csproj | 31 ------------- .../ArchiSteamFarm.Tests.csproj | 32 -------------- ArchiSteamFarm/ArchiSteamFarm.csproj | 41 +---------------- Directory.Build.props | 44 +++++++++++++++++++ 5 files changed, 45 insertions(+), 134 deletions(-) create mode 100644 Directory.Build.props diff --git a/ArchiSteamFarm.CustomPlugins.ExamplePlugin/ArchiSteamFarm.CustomPlugins.ExamplePlugin.csproj b/ArchiSteamFarm.CustomPlugins.ExamplePlugin/ArchiSteamFarm.CustomPlugins.ExamplePlugin.csproj index 1baab6943..ce8e5e1d8 100644 --- a/ArchiSteamFarm.CustomPlugins.ExamplePlugin/ArchiSteamFarm.CustomPlugins.ExamplePlugin.csproj +++ b/ArchiSteamFarm.CustomPlugins.ExamplePlugin/ArchiSteamFarm.CustomPlugins.ExamplePlugin.csproj @@ -1,36 +1,6 @@ - - JustArchi - JustArchi - Copyright © ArchiSteamFarm 2015-2020 - $(DefaultItemExcludes);debug/**;out/** - none - 8.0 - Library - ../resources/ASF.ico - Apache-2.0 - https://github.com/JustArchiNET/ArchiSteamFarm - Git - https://github.com/JustArchi/ArchiSteamFarm.git - LatestMajor - true - - - - netcoreapp3.1;net48 - - - - netcoreapp3.1 - - - - false - none - true - @@ -44,5 +14,4 @@ - diff --git a/ArchiSteamFarm.CustomPlugins.PeriodicGC/ArchiSteamFarm.CustomPlugins.PeriodicGC.csproj b/ArchiSteamFarm.CustomPlugins.PeriodicGC/ArchiSteamFarm.CustomPlugins.PeriodicGC.csproj index 4c4a3269b..c59fa5c3c 100644 --- a/ArchiSteamFarm.CustomPlugins.PeriodicGC/ArchiSteamFarm.CustomPlugins.PeriodicGC.csproj +++ b/ArchiSteamFarm.CustomPlugins.PeriodicGC/ArchiSteamFarm.CustomPlugins.PeriodicGC.csproj @@ -1,36 +1,6 @@ - - JustArchi - JustArchi - Copyright © ArchiSteamFarm 2015-2020 - $(DefaultItemExcludes);debug/**;out/** - none - 8.0 - Library - ../resources/ASF.ico - Apache-2.0 - https://github.com/JustArchiNET/ArchiSteamFarm - Git - https://github.com/JustArchi/ArchiSteamFarm.git - LatestMajor - true - - - - netcoreapp3.1;net48 - - - - netcoreapp3.1 - - - - false - none - true - @@ -43,5 +13,4 @@ - diff --git a/ArchiSteamFarm.Tests/ArchiSteamFarm.Tests.csproj b/ArchiSteamFarm.Tests/ArchiSteamFarm.Tests.csproj index af1008c92..f8c1cb78e 100644 --- a/ArchiSteamFarm.Tests/ArchiSteamFarm.Tests.csproj +++ b/ArchiSteamFarm.Tests/ArchiSteamFarm.Tests.csproj @@ -1,37 +1,6 @@ - - JustArchi - JustArchi - Copyright © ArchiSteamFarm 2015-2020 - $(DefaultItemExcludes);debug/**;out/** - ASF is an application that allows you to farm steam cards using multiple steam accounts simultaneously. - none - 8.0 - Library - ../resources/ASF.ico - Apache-2.0 - https://github.com/JustArchiNET/ArchiSteamFarm - Git - https://github.com/JustArchiNET/ArchiSteamFarm.git - LatestMajor - true - - - - netcoreapp3.1;net48 - - - - netcoreapp3.1 - - - - false - none - true - @@ -46,5 +15,4 @@ - diff --git a/ArchiSteamFarm/ArchiSteamFarm.csproj b/ArchiSteamFarm/ArchiSteamFarm.csproj index 5beb19f9c..ece99bca1 100644 --- a/ArchiSteamFarm/ArchiSteamFarm.csproj +++ b/ArchiSteamFarm/ArchiSteamFarm.csproj @@ -1,47 +1,9 @@ - - ../resources/ASF.ico - 4.2.1.3 - JustArchi - JustArchi - Copyright © ArchiSteamFarm 2015-2020 - $(DefaultItemExcludes);config/**;debug/**;out/**;overlay/** - ASF is a C# application with primary purpose of idling Steam cards from multiple accounts simultaneously. - none - 4.2.1.3 + $(DefaultItemExcludes);config/**;debug/**;logs/**;overlay/** true - 8.0 - 1591 false Exe - ../resources/ASF.ico - Apache-2.0 - https://github.com/JustArchiNET/ArchiSteamFarm - Git - https://github.com/JustArchiNET/ArchiSteamFarm.git - LatestMajor - linux-arm;linux-arm64;linux-x64;osx-x64;win-x64 - true - - - - netcoreapp3.1;net48 - - - - netcoreapp3.1 - - - - false - none - true - - - - - $(DefineConstants);ASF_VARIANT_$(ASFVariant.Replace('-', '_').ToUpperInvariant()) @@ -122,5 +84,4 @@ www\%(RecursiveDir)%(Filename)%(Extension) - diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 000000000..fdd143790 --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,44 @@ + + + 4.2.1.3 + + + + ../resources/ASF.ico + JustArchi + JustArchiNET + Copyright © ArchiSteamFarm 2015-2020 + ASF is a C# application with primary purpose of idling Steam cards from multiple accounts simultaneously. + true + none + latest + 1591 + ../resources/ASF.ico + Apache-2.0 + https://github.com/JustArchiNET/ArchiSteamFarm + Git + https://github.com/JustArchiNET/ArchiSteamFarm.git + LatestMajor + linux-arm;linux-arm64;linux-x64;osx-x64;win-x64 + true + + + + netcoreapp3.1;net48 + + + + netcoreapp3.1 + + + + false + none + true + + + + + $(DefineConstants);ASF_VARIANT_$(ASFVariant.Replace('-', '_').ToUpperInvariant()) + +