Skip to content

Add net7.0 target#530

Merged
sebastienros merged 1 commit intomainfrom
sebros/net7.0
Nov 29, 2022
Merged

Add net7.0 target#530
sebastienros merged 1 commit intomainfrom
sebros/net7.0

Conversation

@sebastienros
Copy link
Copy Markdown
Owner

No description provided.

@sebastienros sebastienros merged commit 272d6a0 into main Nov 29, 2022
@sebastienros sebastienros deleted the sebros/net7.0 branch November 29, 2022 23:53
@hishamco
Copy link
Copy Markdown
Collaborator

How can react in OC while it not supports .NET 7.0 yet?!!

2 similar comments
@hishamco

This comment was marked as duplicate.

@hishamco

This comment was marked as duplicate.

@sebastienros
Copy link
Copy Markdown
Owner Author

???

@hishamco
Copy link
Copy Markdown
Collaborator

Sorry, for duplicate replies, I just hide them. It happen when you write a comment from a bad internet connection ;)

What I mean is can we upgrade the package in OC while OC still not upgraded to .NET 7.0 yet?

@sebastienros
Copy link
Copy Markdown
Owner Author

Fluid targets all dotnet core versions, not just net7.0

@lahma
Copy link
Copy Markdown
Collaborator

lahma commented Nov 30, 2022

What I mean is can we upgrade the package in OC while OC still not upgraded to .NET 7.0 yet?

While netstandard can be confusing, the basic idea is that if there's a relase against netstandard2.0/2.1 it will run on .NET 16 (yes, 16, like years from now). New targets open up APIs but the old target will work just fine as it's an API contract.

@sebastienros
Copy link
Copy Markdown
Owner Author

I believe the confusion here is that some projects now target net7.0 only, but these are sample projects. The main library targets netstandard (so will always work for everything) but also has specific targets for net7.0 (and older) such that it can exclude some dependencies that are in net7.0 but not in netstandard. OC uses net6.0, so it will pick the net6.0 TFM of this library, even if we "add" a net7.0 one.

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.

3 participants