你的位置:首页 > 软件开发 > ASP.net > On Creating New Project in VS2013: Failed to Initialize the Powershell Host

On Creating New Project in VS2013: Failed to Initialize the Powershell Host

发布时间:2015-10-31 16:00:29
Today, when Im creating a new project in VS2013 it gave me the following error message:Install failed...Failed to initialize the Powershell ...

Today, when I'm creating a new project in VS2013 it gave me the folloget='_blank'>wing error message:

Install failed...Failed to initialize the Powershell host. If your powershell execution policy setting is set to AllSigned, open the package manager console to initialize the host first.

After I had a try, I found out the solution:

1. Run VS2013 as administrator

2. Open "Tools --> NuGet Package Manager --> Package Management Console"

3. Execute command "get-executionpolicy"

4. Execute command "set-executionpolicy unrestricted", if you're on 64 bit OS, you should also execute "start-job { set-executionpolicy unrestricted } -runas32 | wait-job | receive-job"

Restart VS, done!


 

海外公司注册、海外银行开户、跨境平台代入驻、VAT、EPR等知识和在线办理:https://www.xlkjsw.com

原标题:On Creating New Project in VS2013: Failed to Initialize the Powershell Host

关键词:

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

可能感兴趣文章

我的浏览记录