Skip to content
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

Fix faulty netfx check #911

Merged
merged 3 commits into from
Apr 9, 2019
Merged

Fix faulty netfx check #911

merged 3 commits into from
Apr 9, 2019

Conversation

rjmholt
Copy link
Contributor

@rjmholt rjmholt commented Apr 9, 2019

Fixes PowerShell/vscode-powershell#1571.

Also provides a neater API to check Core vs Desktop.

If we ever have a bug with this, we can also use typeof(object).Assembly.GetName().Name != "mscorlib"...

Copy link
Contributor

@rkeithhill rkeithhill left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Collaborator

@SeeminglyScience SeeminglyScience left a comment

Choose a reason for hiding this comment

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

LGTM! Just one suggestion

src/PowerShellEditorServices/Utility/Utils.cs Outdated Show resolved Hide resolved
src/PowerShellEditorServices/Utility/Utils.cs Show resolved Hide resolved
Copy link
Member

@TylerLeonhardt TylerLeonhardt left a comment

Choose a reason for hiding this comment

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

LGTM

@TylerLeonhardt
Copy link
Member

@glennsarti could take advantage of this in his PR

Copy link
Member

@TylerLeonhardt TylerLeonhardt left a comment

Choose a reason for hiding this comment

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

LGTM

@rjmholt rjmholt merged commit 02d21f7 into PowerShell:master Apr 9, 2019
@rjmholt rjmholt deleted the netcore-check branch April 9, 2019 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants