save after

This commit is contained in:
Matthew Parker
2023-11-22 22:25:30 +10:00
parent 950c758994
commit c077021008

View File

@@ -67,9 +67,10 @@ public static class DotNetUpgrade
{
shouldFormat = true;
package.Package.SetMetadataValue("Version", latestNugetVersion.ToString());
project.Save();
}
}
project.Save();
if (shouldFormat)
FormatCsproj.FormatCsprojFile(project.FullPath);
}