我在Windows Server(2008,我猜)SP 2 64位操作系统上的Visual Studio 2008中编译的c sharp程序中有一个编译错误。 它说'System.Management.Automation.PSObject'是在未引用的程序集中定义的。 我在MSDN中进行了一些搜索,发现这似乎是Windows Power Shell SDK的一部分。 http://msdn.microsoft.com/en-us/library/system.management.automation.psobject(VS.85).aspxWindows Powershell SDK和System.Management.Automation.PSObject
问题是我已经安装了Windows Powershell。如果这是我所需要的,我该如何使用它或在C Sharp IDE中引用它。如果我需要下载一些额外的东西(比如SDK),我该在哪里去做并安装它?我在网上找不到任何东西。
甜。 谢谢。 工作。 – xarzu 2009-12-08 18:22:33
改为从NuGet中获取。 – pkr298 2017-04-26 15:56:36