Hi,
Is it possible to detect from the C# code that its main thread is run
from the VS IDE or directly from the .exe file (in debug or release) ?
This is because I want my Console output to be displayed only when the
code is run from the IDE, otherwise it go to a text file. Also, I have
another process that catch all my console output and my own console
output are noise for that process, this is why I want to detect if the
program is run from the IDE or not.
Thanks
Marty