似乎System.Management.Automation程序集只存在于我系统上的 1.0.0.0 版本中,在 GAC 以及以下文件夹中可用:
%ProgramFiles%\Reference Assemblies\Microsoft\WindowsPowerShell\v1.0
不过,我可以确认我确实安装了 PowerShell 2.0,因为我支持 PowerShell 模块和从 shell 远程工作......
通过Reflector,我可以观察到ICmdletProviderSupportsHelp接口肯定是不存在的。那么,问题是,它在哪里实施?