How to identify whether an assembly is in Debug or Release?

  • Thread starter Thread starter Kelmen Wong
  • Start date Start date
K

Kelmen Wong

Greeting,

Anyone know any tool to identify whether an assembly is in Debug or
Release?
I can use "Dependency Walker" from VS 6. How about VS .NET? Got
anything tool like that?
 
Anyone know any tool to identify whether an assembly is in Debug or
Release?

You can build your own tool that uses reflection to look for the
System.Diagnostics.DebuggableAttribute on the assembly. If it's there
and the IsJITTrackingEnabled property is set to true it should be a
debug build.



Mattias
 
Back
Top