why does my C# client that uses Library A need to have a using statement for Library B (which A uses

Posted by Greg on Stack Overflow See other posts from Stack Overflow or by Greg
Published on 2010-05-20T21:21:24Z Indexed on 2010/05/20 21:40 UTC
Read the original article Hit count: 160

Hi,

I have:

  • Main Program Class - uses Library A
  • Library A - has partial classes which mix in methods from Library B
  • Library B - mix in methods & interfaces

So in Library B when I include a partial Node class which implements INode (defined in Library B) I suddenly get an error in my main class where it uses Node from Library A. The error tells me in the Main Class I have to have a using statement to Library B.

Any ideas?

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET