首页  / System.DirectoryServices.Protocols.dll
System.DirectoryServices.Protocols.dll
运行环境:windows10
更新时间:2025-02-14
软件分类:系统文件
软件大小:198 KB
软件语言:简体中文
软件类型:国产软件
软件授权:免费软件
软件版本:4.8.4084.0
选择系统
windows10
选择版本
选择位数
32位
立即下载
**System.DirectoryServices.Protocols.dll 手动安装指南**

1. **依赖环境**
- 该组件内置于 **.NET Framework 2.0+**,需确保目标系统已安装对应版本(Windows 功能中启用 `.NET Framework 3.5/4.x`)。

2. **项目引用(非框架自带场景)**
- **.NET Core/5+**:通过 NuGet 安装 [`System.DirectoryServices.Protocols`](https://www.nuget.org/packages/System.DirectoryServices.Protocols) 包(仅支持 Windows 平台)。
- **旧版迁移**:若需独立部署,从 `%SystemRoot%Microsoft.NETFramework[64]v4.0.30319` 提取文件,需同步注册 GAC(`gacutil /i`),**需注意版权合规性**。

3. **运行时验证**
- 检查项目 `TargetFramework` 声明(如 `net6.0-windows`),确保兼容性。
- 使用 `Assembly.LoadFrom("路径")` 动态加载时,需配置 `AppContext.SetSwitch("Switch.System.DirectoryServices.Protocols.UseLinuxLdap", true)` 以规避跨平台限制(实验性)。

**注**:直接文件复制可能引发版本冲突,建议优先通过 NuGet 或框架更新管理依赖。