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

Add more known legacy TFMs #218

Merged
merged 9 commits into from
Apr 27, 2024
Merged

Add more known legacy TFMs #218

merged 9 commits into from
Apr 27, 2024

Conversation

mhutch
Copy link
Owner

@mhutch mhutch commented Apr 26, 2024

  • Fix some TFM validation issues
  • Add definitions for more known legacy TFMs
  • Add tests for TFM validation and title/description formatting
  • Display default platform versions for TFMs when possible.

Fixes #213

Note that handling and validating all possible TFMs is extremely difficult, as it's ultimately up to the targets how they are interpreted. In the long term I would like to switch to allowing the targets' build schemas to define the known TFMs, and add better support for aliased TFMs and deprecated TFMs.

For frameworks where the shortname does not exactly match the
built-in map, but for which NuGet is able to resolve as an alias,
handle validation of the platform and profile correctly.
This doesn't cover all the esoteric legacy TFMs, and may not handle
them all correctly, but it should be an improvement
We don't have the data for all known revisions so it will fail
@mhutch mhutch merged commit 91c4127 into main Apr 27, 2024
1 check passed
@mhutch mhutch deleted the more-tfms branch April 30, 2024 17:07
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.

Some TFM (Target Framework Moniker) not recognized
1 participant