Skip to content

[Repo Assist] Eng: bump Microsoft.Bcl.AsyncInterfaces 10.0.3 → 10.0.5 (fix NU1605 warning)#290

Merged
dsyme merged 2 commits intomainfrom
repo-assist/eng-fix-bcl-asyncinterfaces-2026-03-25-c04cff6215101902
Mar 25, 2026
Merged

[Repo Assist] Eng: bump Microsoft.Bcl.AsyncInterfaces 10.0.3 → 10.0.5 (fix NU1605 warning)#290
dsyme merged 2 commits intomainfrom
repo-assist/eng-fix-bcl-asyncinterfaces-2026-03-25-c04cff6215101902

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

🤖 This PR was created by Repo Assist, an automated AI assistant.

Summary

Bumps Microsoft.Bcl.AsyncInterfaces from 10.0.310.0.5 in the library project to eliminate a recurring NU1605 build warning.

Root Cause

The library references System.Threading.Channels with a floating version (*), which currently resolves to 10.0.5. That version of System.Threading.Channels has a transitive requirement on Microsoft.Bcl.AsyncInterfaces >= 10.0.5. Our explicit pin of 10.0.3 caused NuGet to emit a downgrade warning on every build:

warning NU1605: Detected package downgrade: Microsoft.Bcl.AsyncInterfaces
  from 10.0.5 to 10.0.3.
  FSharp.Control.AsyncSeq -> System.Threading.Channels 10.0.5
    -> Microsoft.Bcl.AsyncInterfaces (>= 10.0.5)

This warning appeared for both netstandard2.0 and netstandard2.1 targets on every build.

Fix

One-line change in FSharp.Control.AsyncSeq.fsproj:

- (PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="10.0.3" /)
+ (PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="10.0.5" /)

Impact

  • No API surface change.
  • No behaviour change at runtime.
  • Eliminates 2 NU1605 warnings per build (one per target framework).

Test Status

✅ All 348/348 tests pass.

✅ No NU1605 warning in the test build output.

Generated by Repo Assist ·

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/repo-assist.md@4957663821dbb3260348084fa2f1659701950fef

System.Threading.Channels (pinned to *) resolves to 10.0.5, which
transitively requires Microsoft.Bcl.AsyncInterfaces >= 10.0.5.
With our explicit pin at 10.0.3 NuGet emitted a NU1605 downgrade
warning on every build target. Bumping the direct reference to 10.0.5
aligns it with the transitive requirement and eliminates the warning.

No API surface change; all 348/348 tests pass.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dsyme dsyme marked this pull request as ready for review March 25, 2026 13:49
@dsyme dsyme merged commit 136df98 into main Mar 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant