如何找出如果一个.NET程序集是与TRACE或DEBUG标志编译 [英] How to find out if a .NET assembly was compiled with the TRACE or DEBUG flag

查看:221
本文介绍了如何找出如果一个.NET程序集是与TRACE或DEBUG标志编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法找出如果一个程序集已编制与跟踪或调试标志设置,而无需修改组件?

Is there any way to find out if an assembly has been compiled with the TRACE or DEBUG flag set without modifying the assembly?

推荐答案

做的唯一最好的方法是检查编译组件本身。有这种所谓的.NET程序集信息非常有用的工具发现这里通过Rotem公司布卢姆。在安装此之后它asociates .dll文件与自身打开。安装后,你可以在大会上双击它打开并作为显示在下面的screenshop它会给你的装配细节。在那里,你可以识别,如果它的调试 编译或不

The only best way to do is 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 asociates .dll files to open with itself. After installing you can just double-click on the Assembly to open with it and it will give you the assembly details as displayed in the screenshop below. There you can identify if it's debug compiled or not.

linktext的: HTTP://www.$c$cplex.com/AssemblyInformation

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

这篇关于如何找出如果一个.NET程序集是与TRACE或DEBUG标志编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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