Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nuget.Frameworks renamed netcoreapp5.0 to net5.0 #2491

Merged
merged 1 commit into from
Jul 24, 2020

Conversation

nohwnd
Copy link
Member

@nohwnd nohwnd commented Jul 24, 2020

No description provided.

@@ -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 ||
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will that work after net5? @zkat there is a better way to do it right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This won't work after net5, and I am sure there is a better way to do this, but this one was the fastest and safest way to get the fix out without running into potential conflicts with matching ".NETFramework" moniker in unintended places.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants