diff --git a/modules/mono/editor/GodotTools/GodotTools.ProjectEditor/ProjectUtils.cs b/modules/mono/editor/GodotTools/GodotTools.ProjectEditor/ProjectUtils.cs index 7a07e0a9753..22420e2b63c 100644 --- a/modules/mono/editor/GodotTools/GodotTools.ProjectEditor/ProjectUtils.cs +++ b/modules/mono/editor/GodotTools/GodotTools.ProjectEditor/ProjectUtils.cs @@ -191,6 +191,13 @@ namespace GodotTools.ProjectEditor // Otherwise, it can be removed. if (mainTfmVersion > minTfmVersion) { + var propertyTfmVersion = NuGetFramework.Parse(property.Value).Version; + if (propertyTfmVersion == minTfmVersion) + { + // The 'TargetFramework' property already matches the minimum version. + continue; + } + property.Value = minTfmValue; } else