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

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?
 
M

Mattias Sjögren

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top