gpt4 book ai didi

Powershell ISE 在启动时崩溃

转载 作者:行者123 更新时间:2023-12-03 15:24:59 26 4
gpt4 key购买 nike

不知道为什么,但今天我的工作站拒绝加载 Powershell ISE。我可以很好地加载 Powershell,并且我的 cmdlet 可以正常工作。我曾尝试加载 32 位和 64 位 ISE,但出于同样的原因都崩溃了。

这是崩溃转储:

Problem signature: Problem Event Name: PowerShell NameOfExe: PowerShell_ISE.exe FileVersionOfSystemManagementAutomation: 6.1.7600.16385 InnermostExceptionType: System.Xml.XmlException OutermostExceptionType: System.Reflection.TargetInvocation
DeepestPowerShellFrame: indows.PowerShell.GuiExe.Internal.GPowerShell.Main DeepestFrame: indows.PowerShell.GuiExe.Internal.GPowerShell.Main ThreadName: unknown OS Version: 6.1.7600.2.0.0.256.48 Locale ID: 1033

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline: C:\Windows\system32\en-US\erofflps.txt



我在谷歌上找不到关于这次崩溃的任何信息,所以我希望这里有人有一些指导。

最佳答案

这可能完全无关,但在我的情况下,当我查看 Process Monitor 时,我不太明白。为了确定导致崩溃的原因是 Windows 更新(我们的帮助台团队挑选的樱桃),破坏了我的 PowerShell ISE 启动,我还尝试在没有配置文件的情况下运行。使用 Powershell_ISE -NoProfile

我关注了 techcommunity线程并能够使用来自 dotnet github issue 的解决方案 #3 GlobalUserInterface.CompositeFont 解决我的问题

我所要做的就是下载 this font并在以下位置更新它,PowerShell ISE 是一个 WPF 应用程序,字体被 dotnet 升级损坏,作为 KB4074906 的一部分

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\Fonts 和 C:\Windows\Microsoft.NET\Framework\v4.0.30319\WPF\Fonts

关于Powershell ISE 在启动时崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18467940/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com