.net 6 and 5 also
This commit is contained in:
@@ -24,7 +24,7 @@ public static class DotNetUpgrade
|
|||||||
.PropertyGroups
|
.PropertyGroups
|
||||||
.SelectMany(x => x.Properties)
|
.SelectMany(x => x.Properties)
|
||||||
.FirstOrDefault(x => x.Name == "TargetFramework");
|
.FirstOrDefault(x => x.Name == "TargetFramework");
|
||||||
if (targetFramework?.Value is "net7.0")
|
if (targetFramework?.Value is "net7.0" or "net6.0" or "net5.0")
|
||||||
{
|
{
|
||||||
targetFramework.Value = "net8.0";
|
targetFramework.Value = "net8.0";
|
||||||
project.Save();
|
project.Save();
|
||||||
|
|||||||
Reference in New Issue
Block a user