Visual Studio Community 2017 无法启动。异常:无法加载文件或程序集"Microsoft.VisualStudio.TelemetryForPPT



在Visual Studio 2017中打开解决方案时,我得到一个弹出窗口,说:

An exception has been encountered. This may be caused by an extension.
You can get more information by examining the file '[...]AppDataRoamingMicrosoftVisualStudio15.0_ce1eea42ActivityLog.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 [HKLMSoftwareMicrosoftFusion!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 [HKLMSoftwareMicrosoftFusion!EnableLog]. 

有什么建议可以解决问题吗?

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

我刚才尝试重新安装这个新版本,但就我而言,显然仍然存在一些问题,所以我再次禁用了 PPT 的所有 15 个组件,问题再次消失了。

错误日志中的一些条目:

包 [OptionsPagePackage]源的旧版站点包失败:"PPTOptionsPage"说明:无法加载文件或程序集"Microsoft.VisualStudio.TelemetryForPPT,版本=15.0.0.0,区域性=中性,公钥令牌=b03f5f7f11d50a3a"或其依赖项之一。Het systeem kan het opgegeven bestand niet vinden. System.IO.FileNotFoundException: 无法加载文件或程序集 '

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

正如qxg所建议的那样,我通过Visual Studio Installer启动了修复,现在没问题了。所有第三方扩展程序均已卸载:我怀疑该问题是由其中一个引起的。

最新更新