Skip to content

Commit

Permalink
[efcore]: Fix RIDER-118684: Support .NET 9 projects
Browse files Browse the repository at this point in the history
GitOrigin-RevId: c13148c738013ab541f39991d1dfb5c7713f795a
  • Loading branch information
seclerp committed Oct 16, 2024
1 parent fe794a9 commit a155d33
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ private static bool IsSupportedInMigrationsProject(TargetFrameworkId targetFrame
|| targetFrameworkId.UniqueString.StartsWith(SupportedTargetFrameworks.Net6)
|| targetFrameworkId.UniqueString.StartsWith(SupportedTargetFrameworks.Net7)
|| targetFrameworkId.UniqueString.StartsWith(SupportedTargetFrameworks.Net8)
|| targetFrameworkId.UniqueString.StartsWith(SupportedTargetFrameworks.Net9)
|| targetFrameworkId.UniqueString.StartsWith(SupportedTargetFrameworks.NetCore31)
|| targetFrameworkId.UniqueString.StartsWith(SupportedTargetFrameworks.NetStandard20)
|| targetFrameworkId.UniqueString.StartsWith(SupportedTargetFrameworks.NetStandard21);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ private static bool IsSupportedInStartupProject(TargetFrameworkId targetFramewor
|| targetFrameworkId.UniqueString.StartsWith(SupportedTargetFrameworks.Net6)
|| targetFrameworkId.UniqueString.StartsWith(SupportedTargetFrameworks.Net7)
|| targetFrameworkId.UniqueString.StartsWith(SupportedTargetFrameworks.Net8)
|| targetFrameworkId.UniqueString.StartsWith(SupportedTargetFrameworks.Net9)
|| targetFrameworkId.UniqueString.StartsWith(SupportedTargetFrameworks.NetCore31);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ public static class SupportedTargetFrameworks
public const string Net6 = "net6.0";
public const string Net7 = "net7.0";
public const string Net8 = "net8.0";
public const string Net9 = "net9.0";
public const string NetCore31 = ".NETCoreApp,Version=v3.1";
public const string NetStandard20 = ".NETStandard,Version=v2.0";
public const string NetStandard21 = ".NETStandard,Version=v2.1";
Expand Down

0 comments on commit a155d33

Please sign in to comment.