Reputation: 25141
If someone could clarify the following, with regards to c#, this would be great.
Say I have a web project (webproj1
) and a class library (classlib1
).
webproj1
has a reference to classlib1
.
classlib1
also has a reference to a third party dll (thirdpartydll
).
When built, the \bin
folder of webproj
will obviously contain classlib1.dll
, but should it also contain a copy of thirdpartydll.dll
(which is referenced from classlib1
) or is it somehow 'embedded' in to classlib1.dll
?
Upvotes: 0
Views: 79
Reputation: 156898
You need it separately when the assembly cannot be found in for example the GAC.
See http://msdn.microsoft.com/en-us/library/yx7xezcf(v=vs.110).aspx
You could embed it using ILMerge (http://research.microsoft.com/en-us/people/mbarnett/ilmerge.aspx)
Upvotes: 1