From dcc8e919d0da0e9111e5861d3f95d5d9d45dbf9e Mon Sep 17 00:00:00 2001 From: "Eric P. Nusbaum" Date: Sun, 27 Nov 2022 14:17:44 -0500 Subject: [PATCH 1/2] Change File Name to Match Class --- MBBSEmu/{Configuration.cs => AppSettings.cs} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename MBBSEmu/{Configuration.cs => AppSettings.cs} (100%) diff --git a/MBBSEmu/Configuration.cs b/MBBSEmu/AppSettings.cs similarity index 100% rename from MBBSEmu/Configuration.cs rename to MBBSEmu/AppSettings.cs From 2834cafb0f511f698a7118f3653898b4efc1a332 Mon Sep 17 00:00:00 2001 From: "Eric P. Nusbaum" Date: Sun, 27 Nov 2022 14:19:12 -0500 Subject: [PATCH 2/2] Add TrimmerRootDecriptor to MBBSEmu Project Adds `Trimming.xml` which specifies the entire `MBBSEmu` assembly is to be excluded from trimming during linking. --- MBBSEmu/MBBSEmu.csproj | 180 +++++++++++++++++++++-------------------- MBBSEmu/Trimming.xml | 5 ++ 2 files changed, 97 insertions(+), 88 deletions(-) create mode 100644 MBBSEmu/Trimming.xml diff --git a/MBBSEmu/MBBSEmu.csproj b/MBBSEmu/MBBSEmu.csproj index d43dfbd9..789ea077 100644 --- a/MBBSEmu/MBBSEmu.csproj +++ b/MBBSEmu/MBBSEmu.csproj @@ -1,96 +1,100 @@  - - Exe - net7.0 - latest - true - win-x64;win-x86;linux-x64;linux-arm;linux-arm64;osx-x64; - + + Exe + net7.0 + latest + true + win-x64;win-x86;linux-x64;linux-arm;linux-arm64;osx-x64; + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - - - Always - Always - true - - - Always - - + + + + + + + Always + Always + true + + + Always + + diff --git a/MBBSEmu/Trimming.xml b/MBBSEmu/Trimming.xml new file mode 100644 index 00000000..c496ad97 --- /dev/null +++ b/MBBSEmu/Trimming.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file