Skip to content

.NET Standard 2.0 Dependencies #54

@JR-Morgan

Description

@JR-Morgan

I have a question about the versions of dependencies used by the .NET Standard2.0 target of Open.ChannelExtensions.

Image

I'm curious why the .NET standard 2.0 dependencies require a higher version than the .NET 8 target.

The .NET8 targets will be using 8.x.x versions of System.Threading.Channels (included implicitly in the runtime), and an equivalent of 8.x.x for Microsoft.Bcl.AsyncInterfaces
And yet the .NET standard 2.0 targets require >= 9.0.12

This is a bit of a unusual scenario. Usually I'd expect "lower" targets to have lower or the same version requirements than "higher" runtime targets.

These dependency versions have a knock on effect to our projects that depend on Open.ChannelExtensions, as we like to multi-target our projects for both .NET Standard 2.0 and .NET8, and would quite like to have the lowest requirements for our .NET Standard 2.0 target as possible.

Am I right to assume that your .NET standard 2.0 target could use the 8.x.x version instead? (or even 6.x.x since you appear to also have a .NET6 target)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions