-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Labels
area-System.Runtime.InteropServicesbreaking-changeIssue or PR that represents a breaking API or functional change over a previous release.Issue or PR that represents a breaking API or functional change over a previous release.needs-breaking-change-doc-createdBreaking changes need an issue opened with https://github.com/dotnet/docs/issues/new?template=dotnetBreaking changes need an issue opened with https://github.com/dotnet/docs/issues/new?template=dotnet
Milestone
Description
Description
I write code in dotnet7, but RuntimeEnvironment.GetSystemVersion() returns v4.0.30319
Reproduction Steps
public static void Main(string[] args)
{
Console.WriteLine(RuntimeEnvironment.GetSystemVersion());
}
Expected behavior
7.0.7
Actual behavior
v4.0.30319
Regression?
No response
Known Workarounds
No response
Configuration
No response
Other information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-System.Runtime.InteropServicesbreaking-changeIssue or PR that represents a breaking API or functional change over a previous release.Issue or PR that represents a breaking API or functional change over a previous release.needs-breaking-change-doc-createdBreaking changes need an issue opened with https://github.com/dotnet/docs/issues/new?template=dotnetBreaking changes need an issue opened with https://github.com/dotnet/docs/issues/new?template=dotnet