Skip to content

Conversation

@cdonnellytx
Copy link
Contributor

This allows one to use the SingleFile when targeting .NET 9 or 10, and still getting the .NET 8.0+ enhancements.

I have tested this against .NET 6 - 10, as well as .NET Framework 4.6.2 - 4.8.1.

<Project>
  <PropertyGroup>
    <TargetFrameworks>net462;net47;net471;net472;net48;net481;net6.0;net7.0;net8.0;net9.0;net10.0</TargetFrameworks>
  </PropertyGroup>
</Project>

This allows one to use the SingleFile when targeting .NET 9 or 10, and still getting the .NET 8.0+ enhancements.

Disclaimer: I have done this globally without evaluating every potential case, but it seems to work.
Copy link
Owner

@feO2x feO2x left a comment

Choose a reason for hiding this comment

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

Looks good to me! Thank you for the PR!

@feO2x feO2x merged commit 48efa2f into feO2x:dev Nov 26, 2025
1 check passed
@cdonnellytx cdonnellytx deleted the fix/net8OrGreater branch November 26, 2025 16:26
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.

2 participants