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

后端 未结 9 1306
一整个雨季
一整个雨季 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:42

    1. Right click on References under your solution.
    2. Select Add Reference. The reference can be found under the Framework Assemblies list. Select System.DirectoryServices and click Add.

提交回复
热议问题