Windows Powershell SDK and System.Management.Automation.PSObject

前端 未结 1 1997
醉梦人生
醉梦人生 2021-02-08 16:36

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 16:45

    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)
提交回复
热议问题