-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Remove ClrVersion property from $PSVersionTable #4027
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… end users should not be using that value to determine compatibility. Recommendation from dotnet team is to remove that property.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe we should remove internal static Version CLRVersion and internal const string PSCLRVersionName
@iSazonov will remove those |
LGTM. |
@mirichmo can you merge? |
@@ -162,14 +160,6 @@ internal static string GitCommitId | |||
} | |||
} | |||
|
|||
internal static Version CLRVersion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is our stance on removing FullCLR compatibility of the code? If we are dropping that requirement and only focusing on CoreCLR, then you should remove PSCLRVersionName from line 77 as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed it since we removed the other members anyways. After beta.3 goes out, I intend to revisit the discussion about removing FullCLR code.
The ClrVersion property of $PSVersionTable is not useful with CoreCLR and end users should not be using
that value to determine compatibility. Recommendation from dotnet team is to remove that property.
Fix #1395