Third-party referenced dll not been copied to build out
I have a thirdparty .n开发者_C百科et dll being reference and used by my dll/class library project “A”. My console app project “B” references project “A”.
My problem is the thirdparty dll is not being copied to the build out for console app project “B”.
What’s the problem here? The thirdparty dll ref’d in my dll/class library is set to LocalCopy=true.
I'm using vs2008 and .net 3.5.
Thanks in advance
Project B needs to explicitly reference the third party DLL, basically. References aren't assumed to be transitive. (If you try to use any classes in project A which expose types from the third party library, you'll even get a compilation error.)
It can be a pain, but at least it makes it clear what you're really dragging in.
精彩评论