★ wanayoo — archive 1999 https://github.com/PowerShell/PowerShellEditorServices/issues/648Nouvelle recherche | Portail wanayoo
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

Get tests working in PowerShell Core & and Non-Windows #648

Closed
TylerLeonhardt opened this issue Apr 4, 2018 · 7 comments
Closed

Get tests working in PowerShell Core & and Non-Windows #648

TylerLeonhardt opened this issue Apr 4, 2018 · 7 comments

Comments

@TylerLeonhardt
Copy link
Member

@TylerLeonhardt TylerLeonhardt commented Apr 4, 2018

Right now, we have a ton of stuff hardcoded for Windows PowerShell like:

Our tests should support running on Windows PowerShell & PowerShell Core - and be able to run on any OS.

@TylerLeonhardt
Copy link
Member Author

@TylerLeonhardt TylerLeonhardt commented Apr 4, 2018

Marking Up-For-Grabs since I think it's relatively trivial, just a bit time consuming.

@glennsarti
Copy link
Contributor

@glennsarti glennsarti commented Oct 1, 2018

I'll take a crack at this.

@glennsarti
Copy link
Contributor

@glennsarti glennsarti commented Oct 1, 2018

@tylerl0706 Well, this may be an issue ...

Looks like tests are targetting different .Net versions than the actual code.

e.g. PowerShellEditorServices.Protocol is

<TargetFrameworks>netstandard1.6;net451;</TargetFrameworks>

but the tests are

<TargetFrameworks>netcoreapp2.0;net452</TargetFrameworks>

This will not be an easy fix ...

@SeeminglyScience
Copy link
Collaborator

@SeeminglyScience SeeminglyScience commented Oct 1, 2018

I could be wrong, but doesn't @rjmholt's netstandard migration PR do this already?

@glennsarti
Copy link
Contributor

@glennsarti glennsarti commented Oct 1, 2018

Hrmm ok ... yup that looks right.

This will probably be fixed in #741

Not really "Up For Grabs" anymore.

@TylerLeonhardt
Copy link
Member Author

@TylerLeonhardt TylerLeonhardt commented Oct 1, 2018

Sorry @glennsarti, I've updated the issue

@rjmholt
Copy link
Member

@rjmholt rjmholt commented Oct 10, 2018

This has been merged in #741

@rjmholt rjmholt closed this Oct 10, 2018
TylerLeonhardt pushed a commit to TylerLeonhardt/PowerShellEditorServices that referenced this issue Feb 26, 2019
This change fixes an issue which causes and error to appear in the
integrated console when debugging an untitled file without a launch.json
configuration.  The fix is to use the full Uri path when crafting a
launch config for an untitled file.

Resolves PowerShell#648.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.