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

remove duplicate TFMs when considering updates #10981

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

brettfo
Copy link
Contributor

@brettfo brettfo commented Nov 21, 2024

When considering package updates, we call .Distinct() on the string version of the target frameworks. These can differ by case, e.g., net8.0 vs NET8.0 which will result in duplicates further on in the analysis process. These can also differ in form, but not function, e.g., net48 vs .NETFramework,Version=v4.8. Because of this the call to .Distinct() was moved to be after the conversion to a proper framework value.

@brettfo brettfo requested a review from a team as a code owner November 21, 2024 15:01
@github-actions github-actions bot added the L: dotnet:nuget NuGet packages via nuget or dotnet label Nov 21, 2024
@randhircs randhircs merged commit abc9269 into main Nov 21, 2024
70 checks passed
@randhircs randhircs deleted the dev/brettfo/nuget-analyze-failure branch November 21, 2024 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: dotnet:nuget NuGet packages via nuget or dotnet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants