Skip to content

Port PSReadLine project to compile on .NET Core #498

Closed

Description

It must compile on .NET or we wouldn't have it in PowerShell Core. What I'd like to be able to do is compile/debug PSReadLine on Linux.

Activity

  1. lzybkr commented on Jan 27, 2017

    @lzybkr
    Contributor

    This is wip, see #442

    I'm trying to work out a solution where I can generate 1 binary that works on all platforms to avoid shipping 3 binaries (Linux, Windows Core, Windows Full) - like what is happening today with PackageManagement.

  2. lzybkr commented on Jan 27, 2017

    @lzybkr
    Contributor

    I should mention - I have more changes on top of that PR that I haven't pushed yet because it's not ready.

  3. rkeithhill commented on Jan 27, 2017

    @rkeithhill
    ContributorAuthor

    You might talk with David Wilson (@daviwil) if you haven't already. He just did this for the PowerShellEditorServices. It all builds from within VS Code.

    PS. Glad to hear that work is under way. Cool!

  4. lzybkr commented on Jan 27, 2017

    @lzybkr
    Contributor

    Right now I'm hitting https://github.com/dotnet/corefx/issues/9658
    I might have a sort of workaround to target the netstandard1.6 version of the System.Management.Automation reference assembly, but that could cause problems targeting older versions of PowerShell, e.g. if we use an api that wasn't in V3.

  5. lzybkr commented on Oct 17, 2017

    @lzybkr
    Contributor

    With netstandard2, this isn't strictly necessary anymore. That doesn't mean I won't make the change, but it is less compelling right now.

    I'm closing so I have fewer open issues - we can revisit later if it really matters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions