如何确定如果DLL是调试或发布版本(在.NET) [英] How to identify if the DLL is Debug or Release build (in .NET)

查看:475
本文介绍了如何确定如果DLL是调试或发布版本(在.NET)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:
  <一href="http://stackoverflow.com/questions/194616/how-to-tell-if-a-net-application-was-compiled-in-debug-or-release-mode">How判断一个.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?

推荐答案

要做到这一点的唯一最好的方法是检查编译组件本身。有这种所谓的.NET程序集信息非常有用的工具,发现这里通过Rotem公司布卢姆。安装此之后,它赞同.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.

linktext的:<一href="http://www.$c$cplex.com/AssemblyInformation">http://www.$c$cplex.com/AssemblyInformation

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

希望这有助于..

这篇关于如何确定如果DLL是调试或发布版本(在.NET)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆