Skip to content

Commit

Permalink
Nuget.Frameworks renamed netcoreapp5.0 to net5.0 (#2491)
Browse files Browse the repository at this point in the history
  • Loading branch information
nohwnd authored Jul 24, 2020
1 parent 6343278 commit 42c50e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ public static string GenerateFakesSettingsForRunConfiguration(string[] sources,
// Since there are no FrameworkVersion values for .Net Core 2.0 +, we check TargetFramework instead
// and default to FrameworkCore10 for .Net Core
if (targetFramework.Name.IndexOf("netstandard", StringComparison.OrdinalIgnoreCase) >= 0 ||
targetFramework.Name.IndexOf("netcoreapp", StringComparison.OrdinalIgnoreCase) >= 0)
targetFramework.Name.IndexOf("netcoreapp", StringComparison.OrdinalIgnoreCase) >= 0 ||
targetFramework.Name.IndexOf("net5", StringComparison.OrdinalIgnoreCase) >= 0)
{
return FrameworkVersion.FrameworkCore10;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,8 @@ public bool CanExecuteCurrentRunConfiguration(string runsettingsXml)

// This is expected to be called once every run so returning a new instance every time.
if (framework.Name.IndexOf("netstandard", StringComparison.OrdinalIgnoreCase) >= 0
|| framework.Name.IndexOf("netcoreapp", StringComparison.OrdinalIgnoreCase) >= 0)
|| framework.Name.IndexOf("netcoreapp", StringComparison.OrdinalIgnoreCase) >= 0
|| framework.Name.IndexOf("net5", StringComparison.OrdinalIgnoreCase) >= 0)
{
return true;
}
Expand Down

0 comments on commit 42c50e1

Please sign in to comment.