Skip to content

DragonFruit forces main to be in the MTA apartment state #1486

Open
@ReinventorOfWheels

Description

@ReinventorOfWheels

Hello,
when using System.CommandLine.DragonFruit 0.3.0-alpha.21216.1 the main application thread is forced to be in the MTA apartment even if Main() has the [STAThread] attribute.
This causes errors in WinForms applications which require the main thread to be STA.

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions