Guys ... is there any way for me to detect whether or not my code is running under the IDE? I.E.

if (SomeNameSpace.IDE_Active())
Console.WriteLine("Code is running in the IDE!");

Thanks,

-Max