Win11打开PowerShell找不到mscoree.dll怎么办
的有关信息介绍如下:本文介绍在Win11系统中打开PowerShell找不到mscoree.dll的解决方法。
在win11中打开PowerShell时报错如下:
由于找不到 mscoree.dll ,无法执行代码。重新安装程序可能会解决此问题。
先按”Win + S“组合键,在打开的Windows 搜索框中输入:CMD,然后在右侧命令提示符下方点击”以管理员身份运行“。
在管理员:命令提示符窗口,输入以下命令:
dism /online /enable-feature /featurename:netfx3 /all
dism /online /enable-feature /featurename:WCF-HTTP-Activation
dism /online /enable-feature /featurename:WCF-NonHTTP-Activation
我们再次打开PowerShell,发现就可以正常运行了,如下图: