如何识别DLL是否是Debug或Release build(在.NET中) [英] How to identify if the DLL is Debug or Release build (in .NET)
问题描述
我确信以前有人问过,但谷歌和SO搜索失败了我。
I'm sure this has been asked before, but google and SO search failed me.
如何识别DLL是否是版本构建或调试版本?
How can I identify if a DLL is a release build or debug build?
推荐答案
唯一最好的这样做的方法是检查编译的程序集本身。 Rotem Bloom发现这个非常有用的工具.NET程序集信息 here 。安装完毕后,它将自己与.dll文件相关联,以自己打开。安装完成后,您可以双击打开的装配体,并将在下面的屏幕截图中给出装配详细信息。在那里你可以确定是否调试
编译或不编译。
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 http://ruchitsurati.net/myfiles/asm_info.jpg
alt text http://ruchitsurati.net/myfiles/release_assembly.PNG
LinkText: http://www.codeplex.com/AssemblyInformation
LinkText: http://www.codeplex.com/AssemblyInformation
希望这有帮助..
这篇关于如何识别DLL是否是Debug或Release build(在.NET中)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!