Reputation: 5194
I have two .NET libraries: "Foo.Bar" and "Foo.Baz".
"Foo.Bar" is self-contained, while "Foo.Baz" references "Foo.Bar".
Assuming I do the following:
Will there be any differences in the performance of Foo1.dll and Foo2.dll when using their functionality from an external project? If so, how significant is this performance difference, and is it a once-off (on load?) or ongoing difference? Are there any other advantages or disadvantages with either approach?
Upvotes: 7
Views: 670
Reputation: 69242
I'm sure it wouldn't produce exactly the same IL, but it would be extremely close and I can't imagine any appreciable difference between the two methods. Other than the fact that the ILMerge method is probably more convenient and maintainable, I think both solutions would have the same outcome.
Upvotes: 3