链接.NET程序集 [英] Linking .Net Assemblies
问题描述
这是所有假设的,所以请多多包涵。
This is all hypothetical, so please bear with me.
说我正在写在C#中的一个工具叫富。输出是foo.exe的。我发现了一些我喜欢用所谓的律师,我可以在我的项目为bar.dll引用真正伟大的图书馆。当我建立我的项目,我有foo.exe的和bar.dll在我的输出目录。好为止。
Say I'm writing a tool in C# called Foo. The output is foo.exe. I've found some really great library that I like to use called Bar, which I can reference as bar.dll in my project. When I build my project, I have foo.exe and bar.dll in my output directory. Good so far.
我想要做的是链接foo.exe的和bar.dll所以他们是一个程序集,foo.exe的。我想preFER才能够做到这一点在VS2008的,但如果我要诉诸一个命令行工具,就像我Al.exe工具不介意这么多。
What I'd like to do is link foo.exe and bar.dll so they are one assembly, foo.exe. I would prefer to be able to do this in VS2008, but if I have to resort to a command-line tool like al.exe I don't mind so much.
推荐答案
有ILMerge。 链接
There's ILMerge. Link
这篇关于链接.NET程序集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!