Skip to content

Infer WinExe output type as appropriate #11398

@dsplaisted

Description

@dsplaisted

If a project file specifies an OutputType of Exe, we should automatically change it to WinExe if any of the following are true:

  • TargetPlatformIdentifier is windows (which will be the case if the TargetFramework is net5.0-windows
  • UseWindowsForms or UseWPF is true (this will cover projects that target .NET Core 3.x and thus don't have the TargetPlatformIdentifier set to Windows

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions