Click here to Skip to main content
15,947,057 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:

I am using WeifenLuo.WinFormsUI.Docking dll.

I want to include that dll into my project. When I do so, I get an error
Could not load file or assembly 'WeifenLuo.WinFormsUI.Docking, Version=, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

Please help me with this.

Updated 7-Aug-14 5:08am
StM0n 7-Aug-14 3:46am    
Did you change the reference to "Copy local"?
nikita2410 7-Aug-14 4:00am    
StM0n 7-Aug-14 4:04am    
When do you get that error? By runtime or compile?
nikita2410 7-Aug-14 4:07am    
StM0n 7-Aug-14 4:16am    
is the dll in your output folder?

(Sorry for asking so many questions :)

1 solution

Maybe ILMerge[^] could be helpful.

I didn't read this article[^] but it could also clearify things a little :)
Share this answer
nikita2410 7-Aug-14 7:01am    
but that will only merge!!!
StM0n 8-Aug-14 10:54am    
did you try and check if this fulfill your requirements...?
[no name] 8-Aug-14 9:39am    
hello when you add an .DLL to your project after compiling the project it appear in the bin folder with the .EXE download ILMerge and use it to merge the .EXE and the .DLL ,hopping that will help

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900