system.directoryservices.dll

  • Thread starter Thread starter Troy
  • Start date Start date
T

Troy

Hello,

I'm getting the following error when I try to compile my code from the
command line. Any ideas?

c:\ad.csc(6,14): error CS0234: The type or namespace name
'DirectoryServices'
does not exist in the class or namespace 'System' (are you missing
an
assembly reference?)

Thanks
 
Hi Troy!
If you are using class of the DirectoryServices Namespace, I believe you
need to explicitly add reference to this dll in your project. Try to open
your project in VS IDE , expand the references node in solution explorer ,
then right click on references and chose and choose Add Reference Then
from the .net tab select System.Directoryservices.dll to add the reference
explicitly

Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
 
Back
Top