The System.DirectoryServices namespace Missing

Hello. I am working in C# with Visual Studio 2005. I have

using System.DirectoryServices;

in my code, but I am getting the error:

System.DirectoryServices namespace not found.

Why can't I see/use this namespace



Answer this question

The System.DirectoryServices namespace Missing

  • Olas

    That is the way to go about it.

  • Matt David

    Odd.

    Why would one machine (Running XP / SP2) require no refernce, but another (XP SP2) does

    Cheers

    Steve


  • chr15athome

    Okay... I was finally able to fix this by going to Project / Properties / Add References / Browse...

    I then added a reference to System.DirectoryServices.dll

    Is there an easier / better way to do this without having to browse to the DLL

    Thanks!


  • The System.DirectoryServices namespace Missing