We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.csproj
1 parent 9f68a81 commit 57d5b66Copy full SHA for 57d5b66
modules/mono/editor/GodotTools/GodotTools.ProjectEditor/ProjectUtils.cs
@@ -191,6 +191,13 @@ private static void EnsureTargetFrameworkMatchesMinimumRequirement(MSBuildProjec
191
// Otherwise, it can be removed.
192
if (mainTfmVersion > minTfmVersion)
193
{
194
+ var propertyTfmVersion = NuGetFramework.Parse(property.Value).Version;
195
+ if (propertyTfmVersion == minTfmVersion)
196
+ {
197
+ // The 'TargetFramework' property already matches the minimum version.
198
+ continue;
199
+ }
200
+
201
property.Value = minTfmValue;
202
}
203
else
0 commit comments