Skip to content

System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription for stable servicing releases includes the full build information in the version suffix #45812

@DamianEdwards

Description

@DamianEdwards

Description
Using the just released 5.0.1 runtime, the System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription API is returning the string ".NET 5.0.1-servicing.20575.16". The issue reproduces on Windows during local dev on a framework-dependent app, and after deployment when running on Linux as a self-contained app.

Repro
Call the System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription API in an app targeting net5.0 on a machine with the .NET 5.0.1 runtime installed.

Expected
Calling the System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription API should return a description with stable versions for stable servicing releases, e.g. ".NET 5.0.1".

Actual
Using the just released 5.0.1 runtime, calling the System.Runtime.InteropServices.RuntimeInformation.FrameworkDescription API is returning the string ".NET 5.0.1-servicing.20575.16", which includes an unstable/preview version suffix.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions