Skip to content

Revert DisableWinExeOutputInference #16563

Closed
@batzen

Description

@batzen

With #11398 the OutputType a user explicitly sets in his projects is ignored, except when he sets DisableWinExeOutputInference.

This is not acceptable and was not asked for by the community.
#11398 was not discussed and the feedback given there was simply ignored.

We now have a very, very confusing behavior where the users explicit choice of setting OutputType to exe is completely ignored.

Please see the following issues for reference:

There wasn't even an explanation why this should be changed in the first place.
The reasoning in the documentation at https://docs.microsoft.com/de-de/dotnet/core/compatibility/windows-forms/5.0/automatically-infer-winexe-output-type states "It's assumed that most users don't want a console window to open when a WPF or Windows Forms app is executed".
May i ask who assumes this because of which issues?
Was this requested by someone? #11398 did not mention any users/issues identifying this as an issue.

Metadata

Metadata

Assignees

Labels

untriagedRequest triage from a team member

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions