1.管理员身份运行vs code
2.在终端执行:get-ExecutionPolicy,显示Restricted
3.在终端执行:set-ExecutionPolicy RemoteSigned
4.在终端执行:get-ExecutionPolicy,显示RemoteSigned
显示RemoteSigned 即可;
原文链接:https://blog.csdn.net/qq_39561940/article/details/119152960
1.管理员身份运行vs code
2.在终端执行:get-ExecutionPolicy,显示Restricted
3.在终端执行:set-ExecutionPolicy RemoteSigned
4.在终端执行:get-ExecutionPolicy,显示RemoteSigned
显示RemoteSigned 即可;
原文链接:https://blog.csdn.net/qq_39561940/article/details/119152960