This post originated from an RSS feed registered with .NET Buzz
by Jeff Key.
Original Post: IsDebug util
Feed Title: Jeff Key
Feed URL: http://www.asp.net/err404.htm?aspxerrorpath=/jkey/Rss.aspx
Feed Description: Topics revolve around .NET and the Windows platform.
I went through a spell recently where I had to dig through assemblies every day trying to find which were release, the latest version, etc. Unfortunately, the C# and VB.NET compilers don't set the debug bit on the files they emit, so there's no way (that I know of) to determine if an assembly is debug or release without doing it in code. So I did it in code and present it to you, my dear friend. Download it here.