init.ps1 cannot be loaded because running scripts is disabled on this system问题的解决
来源:互联网 发布:巴萨拉菲尼亚数据 编辑:程序博客网 时间:2024/06/07 10:02
vs2017 程序包管理器控制台出现红色错误提示:
File F:\web code\CustomerManagementSystem\packages\EntityFramework.6.1.3\tools\init.ps1 cannot be loaded because running scripts is disabled on this system.
File F:\web code\CustomerManagementSystem\packages\RazorGenerator.Mvc.2.3.12\tools\init.ps1 cannot be loaded because running scripts is disabled on this system
update-database迁移更新语句执行不了。因为最近由于vs2017 反应过慢,禁用和删除了一些插件,怀疑是这个问题造成的。于是在已安装插件中寻找被禁用的。找到一个微软发行的:
Azure Data Lake Tools for Visual Studio 把禁用状态改为启用,然后重启vs2017,在程序包管理器控制台不在出现红色错误提示,并且update-database迁移更新语句可以执行了。是这里的问题
这个插件由于我看到是azure 开头的,而这个我没用到,所以禁用了。结果就导致了这个问题
阅读全文
0 0
- init.ps1 cannot be loaded because running scripts is disabled on this system问题的解决
- File xxx.ps1 cannot be loaded because the execution of scripts is disabled on this system
- PowerShell: 如何解决File **.ps1 cannot be loaded because the execution of scripts is disabled on this sy
- File C:\Temp\Test.ps1 cannot be loaded because the execution of scripts is disabledon this system.
- windows powershell错误 because the execution of scripts is disabled on this system
- scripts is disabled on this system error in PowerShell
- cipd.ps1 cannot be loaded.
- 解决SHSQ.dll This required file cannot be loaded. Please re-install Microsoft Visual C++ 问题
- 解决Firefox [ The URL is not valid and cannot be loaded ] 问题
- 问题:Cannot connect to the Docker daemon. Is the docker daemon running on this host?
- The service cannot be started, either because it is disabled or because it has no enabled deices ass
- Docker:Cannot connect to the Docker daemon. Is the docker daemon running on this host?[已解决]
- 如何解决打开xcode项目是遇到的“cannot be opened because the project file cannot be parsed.”问题?
- org.apache.catalina.servlets.InvokerServlet is privileged and cannot be loaded by this web
- This system is not registered with RHN问题的解决
- This system is not registered with RHN. RHN support will be disabled.
- yum提示This system is not registered with RHN.RHN support will be disabled.(转)
- cannot be opened because its project type (.sqlproj) is not supported by this version...
- 多校第四场1005(hdu6071)dijkstra
- SpringMVC学习之EL表达式二
- WebRTC中如何设置视频的码流
- Iterator迭代器导致的java.util.NoSuchElementException原因与解决方法
- 利用MATLAB计算SPWM脉冲宽度与并应用STM32输出
- init.ps1 cannot be loaded because running scripts is disabled on this system问题的解决
- 百练2795:金银岛题解
- LeetCode27 Remove Element
- JSTL标签中el表达式不起作用
- 近期杂文集锦-数学方法谈
- poj 2154 Color(polya + 欧拉函数)
- leetcode
- HUST1010 The Minimum Length
- 第一篇博客