-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hide console/terminal #80
Comments
On Windows, there two ways to compile an app. You can compile as a "Windows Application" or a "Console Application". GUI apps (WinForms, WPF) are typically compiled as a "Windows Application". .NET Core currently doesn't support a way to compile in any other way than "Console Application", but there is a post-build step to achieve the same effect (since it's just a flag in the compiled exec). Run this on your deployed app.
See here for more info. Since .NET Core 3.0 will support WinForms and WPF, it will have the option of compiling as a "Windows Application", but until then, we need this post-build step. |
Thanks for the answer. By curiosity, how the program behave on Linux/Mac? |
The binaries behave as you'd expect on Linux/Mac. It is only Windows that has this concept of "Windows application" vs "Console application". |
As of .NET Core 3.0, you can set |
Hi,
This is again a newbie question:
All tests I did on Windows had a console window that was around since the .Net Core project was a console one. While useful for debugging and such, this isn't something I want for release. Is there a way to not show (or hide) the terminal window?
The text was updated successfully, but these errors were encountered: