开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜