开发者

Merging .net managed dlls

开发者 https://www.devze.com 2022-12-18 14:02 出处:网络
I have a managed dll开发者_StackOverflow中文版 \"Sample.dll\" that I use to build my dll \"myDLL.dll\". But I want to distribute 1 dll (\"myDLL.dll\") file only. How do i merge them?ILMerge works well

I have a managed dll开发者_StackOverflow中文版 "Sample.dll" that I use to build my dll "myDLL.dll". But I want to distribute 1 dll ("myDLL.dll") file only. How do i merge them?


ILMerge works well, and does this, for the most part.

Be aware, though, that there are issues if you're doing this with WPF assemblies containing Xaml. I suspect that Workflow 4 projects may have the same issues. The embedded Xaml doesn't get merged properly with ILMerge.

There are some commercial tools, however, the claim to support assembly merging with WPF projects, including .NET Reactor and SmartAssembly.


Using ILMerge: Merging .NET assemblies using ILMerge

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号