Skip to content

Obsoleting StrongNameKeyPair type in .NetCore #6343

@buyaa-n

Description

@buyaa-n

As part of dotnet/runtime#47228 we are obsoleting APIs not supported in .Net Core. The APIs we are obsoleting in reflection are listed in dotnet/runtime#50529. Where we found that System.Reflection.StrongNameKeyPair is not supported in .NetCore and existing APIs only throwing PNSE or no-op. We are planning to update the no-op constructor overloads to throw PNSE and [Obsolete] the entire type. Which also causing to Obsolete AssemblyName.KeyPair property. This type and API doesn't have real usage in runtime repo but from https://source.dot.net/ we see it is referenced a lot from MSBuild repo.

Please let us know if you have any issue with Obsoleting this type and API

Originally posted by @buyaa-n in dotnet/runtime#50941 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions