From 3b7652d4a97ec37dbf52b73943aca6bd0a28b3a1 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Mon, 8 May 2017 07:38:17 +0200 Subject: [PATCH] It seems Mono started working with Fody already --- ArchiSteamFarm/ArchiSteamFarm.csproj | 2 +- ConfigGenerator/ConfigGenerator.csproj | 12 +----------- GUI/GUI.csproj | 12 +----------- 3 files changed, 3 insertions(+), 23 deletions(-) diff --git a/ArchiSteamFarm/ArchiSteamFarm.csproj b/ArchiSteamFarm/ArchiSteamFarm.csproj index 70d6bddea..d6f583c99 100644 --- a/ArchiSteamFarm/ArchiSteamFarm.csproj +++ b/ArchiSteamFarm/ArchiSteamFarm.csproj @@ -279,7 +279,7 @@ fi rm "$(SolutionDir)out/ASF-Service.exe.config" - cp "$(SolutionDir)out/ASF-Service.exe" "$(SolutionDir)out/ASF.exe" + cp "$(TargetDir)$(TargetName).exe" "$(SolutionDir)out/ASF.exe" diff --git a/ConfigGenerator/ConfigGenerator.csproj b/ConfigGenerator/ConfigGenerator.csproj index 2ffbc0b84..f81f6c942 100644 --- a/ConfigGenerator/ConfigGenerator.csproj +++ b/ConfigGenerator/ConfigGenerator.csproj @@ -183,17 +183,7 @@ set -e - if [ -f "$(SolutionDir)mono_envsetup.sh" ]; then - . "$(SolutionDir)mono_envsetup.sh" - fi - - if [ -n "$MONO_FACADES" ]; then - mono "$(SolutionDir)tools/ILRepack/ILRepack.exe" "/lib:$MONO_FACADES" /ndebug /internalize /parallel /targetplatform:v4 /wildcards /out:"$(SolutionDir)out/ASF-ConfigGenerator.exe" "$(TargetDir)$(TargetName).exe" "$(TargetDir)*.dll" - else - mono "$(SolutionDir)tools/ILRepack/ILRepack.exe" /ndebug /internalize /parallel /targetplatform:v4 /wildcards /out:"$(SolutionDir)out/ASF-ConfigGenerator.exe" "$(TargetDir)$(TargetName).exe" "$(TargetDir)*.dll" - fi - - rm "$(SolutionDir)out/ASF-ConfigGenerator.exe.config" + cp "$(TargetDir)$(TargetName).exe" "$(SolutionDir)out/ASF-ConfigGenerator.exe" diff --git a/GUI/GUI.csproj b/GUI/GUI.csproj index fe817c7e0..9e38b17ac 100644 --- a/GUI/GUI.csproj +++ b/GUI/GUI.csproj @@ -379,17 +379,7 @@ set -e - if [ -f "$(SolutionDir)mono_envsetup.sh" ]; then - . "$(SolutionDir)mono_envsetup.sh" - fi - - if [ -n "$MONO_FACADES" ]; then - mono "$(SolutionDir)tools/ILRepack/ILRepack.exe" "/lib:$MONO_FACADES" /ndebug /internalize /parallel /targetplatform:v4 /wildcards /out:"$(SolutionDir)out/ASF-GUI.exe" "$(TargetDir)$(TargetName).exe" "$(TargetDir)*.dll" - else - mono "$(SolutionDir)tools/ILRepack/ILRepack.exe" /ndebug /internalize /parallel /targetplatform:v4 /wildcards /out:"$(SolutionDir)out/ASF-GUI.exe" "$(TargetDir)$(TargetName).exe" "$(TargetDir)*.dll" - fi - - rm "$(SolutionDir)out/ASF-GUI.exe.config" + cp "$(TargetDir)$(TargetName).exe" "$(SolutionDir)out/ASF-GUI.exe"