For some reason my console application, using .NET 5, Visual Studio Community 2019 Version 16.11.2, builds and runs as a windows application.
In the csproj file it is set as <OutputType>Exe</OutputType>
but in the "Application" page of the project properties GUI it shows as a "windows application" and changing it has no effect. When debugging or running it no console window is displayed.
How can I fix this?