Skip to content

Commit c35789f

Browse files
Add netstandard-specific package refs for Channels/Immutable
Added conditional PackageReferences for System.Threading.Channels and System.Collections.Immutable (min version 6.0.0) when targeting netstandard2.0 or netstandard2.1. This maintains compatibility for netstandard consumers without enforcing newer minimums, while allowing higher versions to resolve as needed.
1 parent 031eff6 commit c35789f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Open.ChannelExtensions/Open.ChannelExtensions.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
</None>
5050
</ItemGroup>
5151

52+
<!-- Minimum version only (not exact-pinned): keeps the floor low so netstandard consumers aren't forced to a newer minimum, while still allowing their own app's dependency graph to resolve a higher version if needed. -->
5253
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' or '$(TargetFramework)' == 'netstandard2.1'">
5354
<PackageReference Include="System.Threading.Channels" Version="6.0.0" />
5455
<PackageReference Include="System.Collections.Immutable" Version="6.0.0" />

0 commit comments

Comments
 (0)