views:

1442

answers:

3

I'm sure this has been asked before, but google and SO search failed me.

How can I identify if a DLL is a release build or debug build?

+24  A: 

The only best way to do this is to check the compiled assemblies itself. There is this very useful tool called '.NET Assembly Information' found here by Rotem Bloom. After you install this, it associates itself with .dll files to open with itself. After installing you can just double-click on the Assembly to open and it will give you the assembly details as displayed in the screenshots below. There you can identify if it's debug compiled or not.

alt text

alt text

LinkText: http://www.codeplex.com/AssemblyInformation

Hope this helps..

this. __curious_geek
Nice find. Thanks for the link.
Rob Allen
It has proven to be an exceptionally great tool in our development team. It's amazing!
this. __curious_geek
+3  A: 

This blog post has the programmatic approach.

Promit
+3  A: 

A Link to another SO question on the same topic.

Graeme Bradbury