Skip to content

Fails to document PowerShell 6 (PowerShell Core) binary modules #41

@jherby2k

Description

@jherby2k

I am developing a powershell library using PowerShell core (via the PowerShellStandard.Library nuget package currently at https://powershell.myget.org/F/powershell-core). The library targets .NET standard 2.0, which will be typical for PowerShell modules going forward as it allows your module to run on PowerShell 3+ as well as PowerShell core cross-platform.

Anyway, xmldoc2cmdletdoc fails with the following trace:
Loader exception: System.IO.FileNotFoundException: Could not load file or assembly '<project path>\bin\Debug\netstandard2.0\netstandard.dll' or one of its dependencies. The system cannot find the file specified.

This is on Windows 10 1703. I actually think the issue might be solved by .NET 4.7.1 as its supposed to resolve some binding issues with netstandard libraries. I'll update this case later today or tomorrow as Windows 10 1709 (including .NET 4.7.1) comes out today.

If its fixed, it might just be a good idea to note the dependency on .NET 4.7.1 since this will be a common scenario once PowerShell 6.0 is released.

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