Windows Powershell SDK and System.Management.Automation.PSObject

前端 未结 1 922
死守一世寂寞
死守一世寂寞 2021-02-08 16:11

I have a build error in a c sharp program that I am compiling in Visual Studio 2008 on a Windows Server (2008, I guess) SP 2 64-BIT OS. It says that \'System.Management.Automati

1条回答
  •  [愿得一人]
    2021-02-08 17:07

    Look in C:\Program Files\Reference Assemblies\Microsoft\WindowsPowerShell\v1.0 for System.Management.Automation.dll and if it exists, add it as a reference in your C# project. If it doesn't exist, then download the Windows SDK which will put the file in the above location.

    0 讨论(0)
提交回复
热议问题