问题描述
我有很多正在使用微软的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.
请参阅对于具有这种整合
Also see ILMerge Gui for a UI that has this integrated
这篇关于是否ilmerge优化输出?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!