How do I determine if my app was compiled as \"release\" instead of \"debug\"? I went to VS 2008 Project Properties > Build and set the configuration from Debug to Release b
You need to look for more than IsJITTrackingEnabled - which is completely independent of whether or not the code is compiled for optimization and JIT Optimization.
Also, the DebuggableAttribute is present if you compile in Release mode and choose DebugOutput to anything other than "none".
Please refer to my posts: How to Tell if an Assembly is Debug or Release and How to identify if the DLL is Debug or Release build (in .NET)