Query about references...

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • matthewt

    Query about references...

    Hi

    I have a class library project called AD that talks to Active Directory via the System.Director yServices namespace. This library compiles fine. When I try and use AD in my web project, the web project won't build unless I add a reference to S.DS :

    Classes in the AD library do not have any public members that refer to classes implemented in S.DS (it does have some internal and private ones that do) so why should it need the reference? I would have expected the compiler to follow the reference chain to get all the assemblies needed to build the project (i.e. web needs AD which needs S.DS so I'll fetch AD and S.DS to build web)

    Is this behaviour right

    Matt
  • Max L. Vaughn [MSFT]

    #2
    RE: Query about references...

    This is the way it works. You will need to include the
    System.Director yServices in your references to get the functionality into
    the project.

    I will check with the Visual Studio boys to confirm, but I believe this is
    by design.


    Sincerely,
    Max Vaughn [MS]
    Microsoft Developer Support


    Disclaimer: This posting is provided "AS IS" with no warranties, and
    confers no rights. You assume all risk for your use.

    Comment

    • Max L. Vaughn [MSFT]

      #3
      RE: Query about references...

      This is the way it works. You will need to include the
      System.Director yServices in your references to get the functionality into
      the project.

      I will check with the Visual Studio boys to confirm, but I believe this is
      by design.


      Sincerely,
      Max Vaughn [MS]
      Microsoft Developer Support


      Disclaimer: This posting is provided "AS IS" with no warranties, and
      confers no rights. You assume all risk for your use.

      Comment

      Working...