You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-31 18:41:20 +00:00
Merge pull request #103714 from raulsntos/dotnet/skip-resaving-when-tfm-unchanged
[.NET] Skip re-saving `.csproj` when TFM is unchanged
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user