Question: I have a console program that shouldn\'t be seen. (It resets IIS and deletes temp files.)
Right now I can manage to hide the window right after start like
If you don't need the console (e.g. for Console.WriteLine) then change the applications build options to be a Windows application.
Console.WriteLine
This changes a flag in the .exe header so Windows doesn't allocate a console session when the application starts.
.exe