Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have a managed dll "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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
153 views
Welcome To Ask or Share your Answers For Others

1 Answer

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...