System.DirectoryServices is not recognised in the namespace 'System'

后端 未结 9 1401
一整个雨季
一整个雨季 2021-02-05 02:23

I\'m trying to use System.DirectoryServices in a web site project and I\'m getting this error:

The type or namespace name \'DirectoryServices

9条回答
  •  情话喂你
    2021-02-05 02:59

    Is this a web site project, or a web application project. With the latter, references are handled via the .csproj - i.e. via the "References" node in Solution Explorer.

提交回复
热议问题