是否ilmerge优化输出? [英] Does ilmerge optimize the output?

查看:183
本文介绍了是否ilmerge优化输出?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有很多正在使用微软的ILMERGE.EXE工具合并的DLL。所有的DLL都'优化我的代码听之任之。

I have a number of DLLs that are merged using the ILMERGE.EXE tool from Microsoft. All the DLLs have 'optimize my code' unchecked.

当在Web应用程序的模块屏幕(在Visual Studio),试图调试代码显示了DLL进行了优化。这显然会导致试图调试应用程序的某些部分时的一个问题。

When trying to debug code in a web application the modules screen (in Visual Studio) shows the dll has been optimized. This obviously causes a problem when trying to debug certain parts of the application.

有没有建立使用ILMERGE一个DLL不优化代码的方式?

Is there a way of building a DLL using ILMERGE which does not optimize the code?

推荐答案

ILMerge有一个选项合并PDBS,如果你使用它,你就可以通过您的代码进行调试。

ILMerge has an option to merge PDBs if you use it, you will be able to debug through your code.

请参阅这个博客帖子和讨论斯科特Hanselman的博客

See this blog post and discussion on Scott Hanselman's blog

另请参见 ILMerge桂对于具有这种整合

Also see ILMerge Gui for a UI that has this integrated

这篇关于是否ilmerge优化输出?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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