C# 응용 프로그램에 Assemblies (System.Management.Automation 및 System.Runtime.Remoting) 참조를 추가하고 프로젝트에서 powershell 인터페이스를 사용했습니다. 하지만 코드의 컴파일시 동안, 말하는 오류에 geting하고System.Management.Automation 및 System.Runtime.Remoting assembly
"형식 또는 네임 스페이스 이름 '원격' 네임 스페이스에 'System.Management.Automation'존재하지 않습니다는" 형식 또는 네임 스페이스를 이름 'PowerShell을' 찾을 수 없습니다
C : \ WINDOWS \ 조립 \ 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'에 대해 말하는지 결정할 수 없습니다." – Jaykul