Skip to content

Is this project alive? #104

Open
Open

Description

@soroshsabz

ITNOA

As you know, this project is very old, (last commits for more than 5 years ago) PowerShell 7.6 coming soon, and .NET 10 is released, but we do not know, what is best approach to writing C# based PowerShell module

Activity

  1. soroshsabz commented on Dec 11, 2025

    @soroshsabz
    Author
  2. soroshsabz commented on Dec 11, 2025

    @soroshsabz
    Author
  3. soroshsabz commented on Dec 11, 2025

    @soroshsabz
    Author
  4. jborean93 commented on Dec 11, 2025

    @jborean93

    This library is mostly just for creating a compiled module that works on both .NET Framework and/or PowerShell 7. It is essentially feature complete as 5.1 will not include any new APIs and this ref library needs to expose only the shared APIs between the two.

    If you wish to target newer PowerShell features you should add a reference to System.Management.Automation at the base PowerShell version you want. For example this is how I target PowerShell 5.1 with PowerShellStandard and 7.2+ with System.Management.Automation

    https://github.com/jborean93/ProcessEx/blob/fe2cdbd55ee0706ffef1abc2d6a8ca10e57369f6/src/ProcessEx/ProcessEx.csproj#L24-L34

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