简体   繁体   中英

The PowerShell script failed to execute - ServiceFabric

I'm new to Service Fabric, and I have difficulties deploying a Service Fabric project to my local cluster. I keep getting the error: The PowerShell script failed to execute

I search for this error, and I read that Visual Studio must be opened as Administrator. I run it as Administrator, so this is not a problem.

I run this command in PowerShell

Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Force -Scope CurrentUser

but it does not resolve the problem. I keep getting the error with PowerShell script; it's failing on execute. Can you advise?

Try copy and pasting the script directly into powershell. If it doesn't work you might get a more detailed reason

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM