From 1edddb2126aca3633d72887ff85c7dbf2a5a8022 Mon Sep 17 00:00:00 2001
From: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com>
Date: Thu, 20 Jun 2024 15:13:40 -0700
Subject: [PATCH] Simplify MainSlnExecutable.props
makes it play nicer with Rider WinForms designer and is much simpler than what was present before
also not sure where the "TargetName changing AssemblyName" behavior actually came from, testing on Rider/dotnet build/VS2022 all yield no changes to AssemblyName, so I assume this is fine
---
src/MainSlnExecutable.props | 16 +++++-----------
1 file changed, 5 insertions(+), 11 deletions(-)
diff --git a/src/MainSlnExecutable.props b/src/MainSlnExecutable.props
index 0249f6573e..97e11dabee 100644
--- a/src/MainSlnExecutable.props
+++ b/src/MainSlnExecutable.props
@@ -5,12 +5,10 @@
This allows us to have the executable dependencies automagically copied over to our dll folder while still keeping the executable in the output folder. -->
$(MSBuildProjectDirectory)/../../output/dll/
$(MSBuildProjectDirectory)/../../output/
-
- $(MSBuildProjectName.Substring($([MSBuild]::Add($(MSBuildProjectName.LastIndexOf('.')), 1)))).exe
+
+ $(MSBuildProjectName.Substring($([MSBuild]::Add($(MSBuildProjectName.LastIndexOf('.')), 1))))
- $(ExecFilesDest)$(TargetFileName)
+ $(ExecFilesDest)$(TargetName).exe
-
+
-
-
-
-
+