I have certain features in my application that I only want available to me while I'm running my application through Visual Studio. Once I compile the application and distribute the standalone executable, I don't want those features exposed.
Is there a simple way to perform this check?