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 net9.0 target #103

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

Conversation

richardszalay
Copy link

No description provided.

@@ -19,7 +19,7 @@
<ItemGroup>
<PackageReference Include="JasperFx.Core" Version="1.5.1" />
<PackageReference Include="Spectre.Console" Version="0.47.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="[6.0.0,9.0.0)" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="[6.0.0,10.0.0)" />
Copy link
Contributor

@ArturDorochowicz ArturDorochowicz Nov 14, 2024

Choose a reason for hiding this comment

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

What's the point of this range?

I suspect that the PR submitter just bumped this automatically, so this is not in any way a remark to this PR. But maybe this PR is an opportunity to remove it.

All this does in practice is placing an artificial upper limit on valid versions. Such behavior is typically frowned upon. If someone installs just Oakton in a new project, they will get 6.0.0 (no matter the target framework), because that's how NuGet's version resolution works.

Copy link
Author

Choose a reason for hiding this comment

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

Nothing was automatic, but after a discussion with Jeremy on Discord it was decided the
.net 9 PRs would not change anything regarding existing TFM support. As such, since this already used a version range I simply bumped the maximum to allow for 9.x.x

Happy to fix it in this PR, but for posterity it would be better off being a distinct issue + PR.

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