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

Update to support both .NET and .NET Core branding #196

Merged
merged 1 commit into from
Sep 8, 2021

Conversation

sfoslund
Copy link
Member

@sfoslund sfoslund commented Sep 3, 2021

Fixes #186

@sfoslund sfoslund requested a review from wli3 September 3, 2021 18:18
@sfoslund
Copy link
Member Author

sfoslund commented Sep 8, 2021

@joeloff can I get a quick review here too?

@@ -72,7 +72,7 @@ internal static bool IsNetCoreBundle(string displayName, string displayVersion,
(displayName.IndexOf("Visual Studio", StringComparison.OrdinalIgnoreCase) < 0) &&
(displayName.IndexOf("VS 2015", StringComparison.OrdinalIgnoreCase) < 0) &&
(displayName.IndexOf("Local Feed", StringComparison.OrdinalIgnoreCase) < 0) &&
((displayName.IndexOf(".NET Core", StringComparison.OrdinalIgnoreCase) >= 0) ||
((displayName.IndexOf(".NET", StringComparison.OrdinalIgnoreCase) >= 0) ||
Copy link
Member

Choose a reason for hiding this comment

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

Does this risk pickup on .NET Framework items? I don't think it should since .NET FX is part of Windows, but I have seen products call out other products like "XYZ for .NET 4.6". Something we can maybe look into later

@sfoslund sfoslund merged commit 0ed6f8f into dotnet:main Sep 8, 2021
@sfoslund sfoslund deleted the AllowNetWithoutCore branch September 8, 2021 19:44
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.

dotnet-core-uninstall unable to list Hosting Bundle 5.0.x
2 participants