From 70f457c63155d16c0da8dba434949c5d0dc49ca3 Mon Sep 17 00:00:00 2001 From: Stephen T Date: Wed, 6 Aug 2025 23:44:15 -0500 Subject: [PATCH] build: simplify `Calamity.csproj`, remove redundancies Brings the file more in line with what tModLoader generates by default. Introduces different semantics, technically. - `AssemblyName` property declaration is redundant as the project file is already named `CalamityMod` - would require redeclaration if we, for some reason, renamed the project file (irrelevant) - don't specify `TargetFramework`, duplicated from `tMLMods.targets`, - don't specify `PlatformTarget`, duplicated from `tMLMods.targets` (in which it is already redundant, because that is the default value), - don't specify `LangVersion`, - semantic change, `tMLMods.targets` specifically sets `12` while we choose `latest`; these are the same value for now. - may be worthwhile to set back to `latest` if we desire for some reason, - remove reference to old `tModLoader.CodeAssist` package - made redundant by recent tML update. --- CalamityMod.csproj | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/CalamityMod.csproj b/CalamityMod.csproj index 06a7b9a67d..83b5750ac1 100644 --- a/CalamityMod.csproj +++ b/CalamityMod.csproj @@ -1,13 +1,5 @@ - + - - CalamityMod - net8.0 - AnyCPU - latest - - - - +