Hi guys i Have resolved my problem by adding.
using System.Director yServices;
at first line.
User Profile
Collapse
-
-
Error in c# while connecting to Directory Services
I m trying to connect to my Active Directory and fetch the attribute of my AD.
Whenever i trying to execute the console application made in c# i get following error.
Please Help
Code:The type or namespace name 'DirectoryServices' does not exist in the namespace 'System' (are you missing an assembly reference?)
My code is as follows.
...Code:using System; using System.Collections.Generic;
No activity results to display
Show More
Leave a comment: