Skip to content

Please clarify the platform-specific constraints on the use of -OutputType #6417

Closed
@mklement0

Description

@mklement0

It seems that using -OutputType to intentionally create persistent assemblies only works on Windows at the moment and there only in Windows PowerShell - at least when it comes to -OutputType ConsoleApplication - not sure about -OutputType Library (whereas -OutputType WindowsApplication is self-evidently Windows-only).

Please clarify in the topic which combinations are supported in PowerShell Core and on non-Windows platforms, if any.

(If it turns out that only Windows PowerShell is supported, we should look into modifying / extending Add-Type accordingly.)


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-utilityArea - Microsoft.PowerShell.Utility module

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions