Skip to content

No release since 1.4.1: pack fails package validation (CP0016/CP0001/CP0014…) after the Polyfill bump, so the #117–#119 fixes aren't on NuGet #128

Closed

Description

@matt-edmondson

What's wrong

Every CI run on main since 2026-10-13 fails in Analyze & Release at the pack step. The runs are 38368099305 (#117) and 38495119113 (#118, the latest):

Release workflow failed: Pack failed for 1 project(s): FuzzySearch (exit code 1)

The last 400 lines of the log alone contain about 300 package-validation errors. All of them are about polyfilled BCL types compiled into ktsu.FuzzySearch.dll, and the counts in that tail are 233 × CP0016, 56 × CP0001, 6 × CP0014, 4 × CP0015, 3 × CP0002 and 2 × CP0008. For example:

error : CP0016 (Target: 'F:System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute.EntryPoint:[T:System.Runtime.CompilerServices.NullableAttribute]', Left: 'lib/net7.0/ktsu.FuzzySearch.dll', Right: 'lib/net8.0/ktsu.FuzzySearch.dll')

The errors span every pair of adjacent target frameworks: netstandard2.0→2.1, netstandard2.1→net5.0, net5.0→6.0, net6.0→7.0, net7.0→8.0 and net8.0→9.0.

They began with the Polyfill bumps (11.4.3 → 11.4.4 → 11.4.5, #120). The committed FuzzySearch/CompatibilitySuppressions.xml still holds the suppressions generated against the older Polyfill output.

Why it matters

VERSION.md says 1.4.2, but the newest stable tag is v1.4.1. These merged fixes have never shipped:

NuGet users still get the version where Contains throws on U+FFFE.

Suggested fix

Regenerate the suppression file against the current Polyfill and commit it:

dotnet pack FuzzySearch -c Release -p:ApiCompatGenerateSuppressionFile=true

Acceptance criteria

Activity

  1. added
    bug
    on Oct 31, 2026
  2. matt-edmondson commented on Oct 31, 2026

    @matt-edmondson
    ContributorAuthor

    Triage


    Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions