Possible Duplicate:
How to tell开发者_如何学运维 if .net app was compiled in DEBUG or RELEASE mode?
Hi,
If I have third party pre-compiled code, how can I tell if the .dll's provided are release or debug versions?
If the .pdb files exist alongside the .dll's, does that mean the dll's are debug versions?
Thanks Nic
Not necessarily - there can be .pdbs transferred as well - you could look at the dll using reflector and check that the assembly information - if there is a Assembly: debuggable information like below
then its debug
see this article fro other details http://www.undermyhat.org/blog/2009/07/in-depth-determine-whether-a-type-method-variable-or-assembly-is-debug-or-release-build/
精彩评论