system.directoryservices.dll


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
 
Ad

Advertisements

M

Mohamoss

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top