From 674e05f2dc7407e5206e52bf1a51962dcf61f4c5 Mon Sep 17 00:00:00 2001 From: Michal Dengusiak Date: Tue, 22 Sep 2026 20:21:05 +0200 Subject: [PATCH] build: remove dead .NET Framework app.config leftovers 2 app.config files were net472-era leftovers containing assembly binding redirects and , neither of which has any effect under .NET 8. Every project here targets net8.0-windows or netstandard2.0 and is OutputType Library, and a library's .dll.config is never read at runtime (only the host .exe.config is). Their only remaining effect was to emit stale SAM.*.dll.config files into build/ and the %APPDATA%\SAM deploy folder. Verified: no TargetFramework other than net8.0-windows/netstandard2.0 in any csproj; every project is OutputType Library (no Exe/WinExe); no ConfigurationManager/System.Configuration/AppSettings/OpenExeConfiguration usage in any .cs file; each deleted app.config contained only assemblyBinding/dependentAssembly/assemblyIdentity/bindingRedirect/runtime/ startup/supportedRuntime elements; no csproj/props/yml references app.config/AppConfig/dll.config, and the PostBuild Exec targets copy only *.dll/*.gha. Compile-only (-t:Compile, not a full build) verification of both affected projects: 0 errors each (SAM.Analytical.Grasshopper.TMP had 2 pre-existing, unrelated NU1701 warnings about the com.angusj.Clipper package targeting .NET Framework). Co-Authored-By: Claude Sonnet 5 --- Grasshopper/SAM.Analytical.Grasshopper.TMP/app.config | 11 ----------- SAM_TMP/SAM.Analytical.TMP/app.config | 11 ----------- 2 files changed, 22 deletions(-) delete mode 100644 Grasshopper/SAM.Analytical.Grasshopper.TMP/app.config delete mode 100644 SAM_TMP/SAM.Analytical.TMP/app.config diff --git a/Grasshopper/SAM.Analytical.Grasshopper.TMP/app.config b/Grasshopper/SAM.Analytical.Grasshopper.TMP/app.config deleted file mode 100644 index 72259e8..0000000 --- a/Grasshopper/SAM.Analytical.Grasshopper.TMP/app.config +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/SAM_TMP/SAM.Analytical.TMP/app.config b/SAM_TMP/SAM.Analytical.TMP/app.config deleted file mode 100644 index 580a45d..0000000 --- a/SAM_TMP/SAM.Analytical.TMP/app.config +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - -