FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Remove ClrVersion property from $PSVersionTable by SteveL-MSFT · Pull Request #4027 · PowerShell/PowerShell · GitHub

Remove ClrVersion property from $PSVersionTable - #4027

Merged
Mike Richmond (mirichmo) merged 4 commits into
PowerShell:masterfrom
SteveL-MSFT:clrversion
Jun 19, 2017
Merged

Remove ClrVersion property from $PSVersionTable#4027
Mike Richmond (mirichmo) merged 4 commits into
PowerShell:masterfrom
SteveL-MSFT:clrversion

Conversation

Copy link
Copy Markdown
Member

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

… end users should not be using

that value to determine compatibility.  Recommendation from dotnet team is to remove that property.

Ilya (iSazonov) left a comment
edited
Loading

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Copy link
Copy Markdown
Member Author

Ilya (@iSazonov) will remove those

Copy link
Copy Markdown
Collaborator

LGTM.

Copy link
Copy Markdown
Member Author

Mike Richmond (@mirichmo) can you merge?

}
}

internal static Version CLRVersion

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Removed it since we removed the other members anyways. After beta.3 goes out, I intend to revisit the discussion about removing FullCLR code.

Mike Richmond (mirichmo) merged commit a66cd0b into PowerShell:master Jun 19, 2017
Steve Lee (SteveL-MSFT) deleted the clrversion branch June 28, 2017 21:19
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj/PowerShell that referenced this pull request Aug 6, 2026
* ClrVersion property of $PSVersionTable is not useful with CoreCLR and end users should not be using it
that value to determine compatibility.  Recommendation from dotnet team is to remove that property.

* Removed internal members used for CLRVersion

* removed CLRVersion from FullCLR build as well

* added additional information to run `start-psbootstrap -buildnative` if cmake is not found
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Breaking-Change breaking change that may affect users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL