Skip to content

Installed .NET 6.0 and RuntimeInformation.FrameworkDescription property is returning incorrect version. #61330

@speed2048

Description

@speed2048

Description

I installed GA of .net 6.0 and the I returned the RunTimeInformation.FramworkDescription property and contains the incorrect rtm version of the runtime. This issue occurs on other platforms as well.

Reproduction Steps

Console.WriteLine($"Runtime = {RuntimeInformation.FrameworkDescription}");

Expected behavior

Should return .NET 6.0.0

Actual behavior

Api call returned : .NET 6.0.0-rtm.21522.10

Regression?

Worked correctly in rc1 and rc2 of .net 6

Known Workarounds

no workaround.

Configuration

dotnet --info returned...
Host (useful for support):
Version: 6.0.0
Commit: 4822e3c

.NET SDKs installed:
No SDKs were found.

.NET runtimes installed:
Microsoft.NETCore.App 6.0.0 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download

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