Reputation: 1438
I have two visual studio Solutions: DB
and WFProject
. The second is a Windows Form project.
DB
contains only one project, DB.
WFProject
contains two projects : WFProject and DB.
In the project WFProject, I references the DLL of DB, from the DB
solution.
So the location of the dll : ..\Visual Studio 2010\Projects\DB\bin\Debug\DB.dll
It is on "copyLocal : True".
The problem is : sometimes, it does not found the dll. I have to remove and re add it on my references.
I clean, and build, and I got this bug really often.
Can somebody tell me why?
Upvotes: 0
Views: 75
Reputation: 29083
You need reference the DB as a project rather than pointing directly to it's compiled DLL. This will make Visual Studio do what you want.
Upvotes: 2