如何在 Windows 10 中全新重新安装 .NET

如何在 Windows 10 中全新重新安装 .NET

我经常使用的这款 OEM 工具在某项特定功能上开始崩溃。以下是部分错误日志。工具是 Adlib Designer,功能是 Adapl 解析器,是一个简单的嵌入式代码编辑器,具有语法高亮显示和一些基本的编译选项。在出现故障的系统上,语法高亮显示不起作用,并且该功能在启动几秒钟后导致整个工具崩溃。

Application: ADLIBDesigner.exe
Framework version: v4.0.30319
Description: the process ended due to an unhandled exception.
Exception information: System.ArgumentException
   at System.Windows.Forms.Control.MarshaledInvoke(System.Windows.Forms.Control, System.Delegate, System.Object[], Boolean)
   at System.Windows.Forms.Control.Invoke(System.Delegate, System.Object[])
   at Adlib.Designer.ApplicationBrowser.PropertyPages.AdaplProperties.AdaplParser_ParseComplete(System.Object, System.EventArgs)
   at Adlib.Designer.AdlibDesignerMain.AdaplParser.Parse()

我的电脑上安装了 .NET Frameworks 3.5 和 4.8。操作系统是 Windows 10 Pro 版本 10.0.18363.592。最新安装的更新是:

2020-01 Cumulative update for .NET Framework 3.5 and 4.8 Windows 10 version 1909 for x64 KB4534132 and KB4532938 
2019-12 Cumulative update for .NET Framework 3.5 and 4.8 Windows 10 version 1909 for x64 KB4533002

我运行了微软的.NET 修复工具,但是并没有解决问题。

我怀疑某些 .NET 模块存在损坏,因为

  1. 完全相同的工具在另一台(更旧且更慢)的 PC 上运行良好,并且具有相同的 Windows 版本和相同的更新。
  2. 崩溃发生在System.Windows.Forms.Control.MarshaledInvoke,即不是在 OEM 模块中。

我向工具制造商报告了这个问题。他们也无法重现这个问题,所以他们不可能给出解决方案。

我正在考虑重新安装 .NET。这样做有意义吗?如果有意义,我该怎么做?

我能想到的唯一其他选择是重新安装 Windows。我宁愿不走这条路,因为我必须重新安装我的主力电脑所需的一切,才能让它舒适地工作。

相关内容