Skip to content

The Nuget package for System.Text.Encodings.Web v4.7.2 has the strong name of 4.0.5.1 #99326

Closed as not planned
@TimHannMSFT

Description

@TimHannMSFT

Description

Our library references System.Text.Encodings.Web v4.7.2. We had a user complain that our references are screwed up because we have something referencing System.Text.Encodings.Web 4.0.5.1.

On investigation it seems that while the registered version for 4.7.2 on nuget is correct, the strong name is 4.0.5.1. This seems like a bug to us. Is that possible to ameliorate?
https://www.nuget.org/packages/System.Text.Encodings.Web/4.7.2

This may be known or expected but I couldn't find reference in repo search or google search.

Reproduction Steps

  1. Download the package from https://www.nuget.org/packages/System.Text.Encodings.Web/4.7.2
  2. Note that when you open the package in NuGet Package Explorer you find that the strong name and the package version do not match
    image

Expected behavior

We expect the package name and the strong name to match as it seems to in later versions of the library
image
(note it appears here too AssemblyFileVersion is different, perhaps that's expected)

Actual behavior

Actual behavior is as shown, there is a mismatch between package version and strong name.

Regression?

No response

Known Workarounds

We have asked the partner if they can simply reference a higher version of the library from their application and see if that can resolve for them. In our library we want to remain at the lowest secure version as we've had issues with snapping to the latest in the past (forcing downgrades and breaking some partners)

Configuration

No response

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions