I have a Dotnet Core API application that is published as an .EXE
When I run the application (double click the .EXE), the console window opens, but nothing happens (the console window remains black - no text is shown, the application does not start)
This only occurs one in so many times
Only after I press a random key on my keyboard (while the console window is focussed), the application starts writing output to the console and the application starts as expected
It seems it like the application is "waiting" or "halting" and only continues to run after any key is pressed
It only happens sometimes, not every time, which makes it hard for me to figure out the cause
Has anyone else had this issue? What can I do to prevent this behaviour?