小编vic*_*cky的帖子

System.Management.Automation和System.Runtime.Remoting程序集

我在我的C#应用​​程序中添加了Assemblies(System.Management.Automation和System.Runtime.Remoting)的引用,并在我的项目中使用了powershell接口.但在代码的补充过程中,我发现了一个错误

"命名空间'System.Management.Automation'中不存在类型或命名空间名称'Remoting'"无法找到类型或命名空间名称'PowerShell'

C:\ WINDOWS\assembly\GAC_MSIL\System.Management.Automation\1.0.0.0__31bf3856ad364e35\System.Management.Automation.dll System.Runtime.Remoting C:\ WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Runtime .Remoting.dll

powershell

4
推荐指数
1
解决办法
6414
查看次数

标签 统计

powershell ×1