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

Normalization of GitVersionTargetFramework and fallback scenario #4206

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

samtrion
Copy link

This is about making sure that compatible target frameworks are treated equally. The previous solution tried to use the TargetFramework, which led to an error when we used net8.0-windows.

Description

The solution here normalizes net8.0-windows and all other platform-specific TargetFrameworks to
net8.0. It also accounts for net9.0 or higher. If the TargetFramework isn't compatible with net8.0, it checks for compatibility with net6.0. If that doesn't work, it falls back to net8.0.

Related Issue

#4192

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Checklist:

  • My code follows the code style of this project.

In this case not necessary, i think.

  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

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.

1 participant