Merging Assemblies

白昼怎懂夜的黑 提交于 2019-12-13 20:05:18

问题


I m working on a project which contain about 17 projects in it, means 17 DLL's. i want to merge some assemblies together. after googling i found ILMerge . is Ilmerge good ? n how to use it? can anyone tell me ? i tried it but so many errors came when i try to run the .exe.

Anyone ?


回答1:


You run ILMerge by first passing the "primary" assembly, and then all of the other assemblies. Use the /out option to specify the output assembly, and use the /targetplatform option to specify the .NET target version (and directory containing the reference assemblies, usually under C:\Program Files\Reference Assemblies\Microsoft\Framework).

More details are in the ILMerge.doc file installed along with ILMerge (usually at C:\Program Files\Microsoft\ILMerge\ILMerge.doc).



来源:https://stackoverflow.com/questions/3562709/merging-assemblies

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!