6

在 Visual Studio 2017 中打开解决方案时,我收到一个弹出消息:

An exception has been encountered. This may be caused by an extension.
You can get more information by examining the file '[...]\AppData\Roaming\Microsoft\VisualStudio\15.0_ce1eea42\ActivityLog.xml'.

指定文件报告与程序集 Microsoft.VisualStudio.TelemetryForPPT 相关的几个错误:

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.TelemetryForPPT, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. File name: 'Microsoft.VisualStudio.TelemetryForPPT, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' at GoToDef.GoToDefMouseHandlerProvider.GetAssociatedProcessor(IWpfTextView view) at Microsoft.VisualStudio.Text.Editor.Implementation.InputController.<UpdateMouseHandlers>b__7_0(IMouseProcessorProvider p) at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.InstantiateExtension[TExtension,TMetadata,TExtensionInstance](Object errorSource, Lazy`2 provider, Func`2 getter) WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. 

有什么解决问题的建议吗?

4

2 回答 2

6

PPT 代表生产力电动工具。两天前安装 PPT 2017 后,我遇到了和你一样的问题。昨天我卸载PPT后这个问题就消失了。昨晚微软创建了PPT 2017的新版本(15.0.2),所以显然出了点问题。

我刚刚尝试重新安装这个新版本,但在我的情况下,某些问题显然仍然存在,所以我再次禁用了 PPT 的所有 15 个组件,问题又消失了。

错误日志中的一些条目:

包 [OptionsPagePackage] 的 LegacySitePackage 失败:“PPTOptionsPage”说明:无法加载文件或程序集“Microsoft.VisualStudio.TelemetryForPPT,版本=15.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a”或其依赖项之一。Het system kan het opgegeven bestand niet vinden。System.IO.FileNotFoundException:无法加载文件或程序集“

[Update-2017-04-12] 今天早上为 PPT 2017 的十五个组件中的四个安装了 PPT 2017 的 15.0.4 版后,就我而言,这个问题似乎得到了解决。

于 2017-04-11T08:33:34.583 回答
0

根据qxg的建议,我通过 Visual Studio Installer 启动了修复,现在可以了。所有第 3 方扩展程序均已卸载:我怀疑问题是由其中一个引起的。

于 2017-04-10T07:38:40.023 回答