Hello,
I have three projects (A, B and C) in one solution. B is the main start-up project and A and C are referenced by it and it is setup so the A.dll and C.dll are copied to B's bin folder. When i build the solution, A.dll is created in it's bin folder (as expected) and the same version is created in the B's bin folder along with the others.
Now this is a vb project and contains some methods. When i run the project, the A.dll file exists in B's bin folder, but only until some methods are executed. The A.dll is deleted from B's bin folder before the program finishes and the next method fails because it can't find the file:
"Could not load file or assembly '*****, Version=1.0.****.****, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified."
Why is this happening? Why don't the A.dll file stay in the B's bin folder until the application exits? Is there an option that i can choose that won't delete the A.dll files? Thank you for your help.