How to tell if a .NET application was compiled in DEBUG or RELEASE mode?
问题 I have an application installed on my computer. How do I find out if it was compiled in DEBUG mode or not? I\'ve tried to use .NET Reflector, but it does not show anything specific. Here is what I see: // Assembly APPLICATION_NAME, Version 8.0.0.15072 Location: C:\\APPLICATION_FOLDER\\APPLICATION_NAME.exe Name: APPLICATION_NAME, Version=8.0.0.15072, Culture=neutral, PublicKeyToken=null Type: Windows Application 回答1: I blogged this a long time ago, and I don't know if it still valid or not,