【问题标题】:Visual Studio Community 2017 fails to start. Exception: Could not load file or assembly 'Microsoft.VisualStudio.TelemetryForPPTVisual Studio Community 2017 无法启动。异常:无法加载文件或程序集“Microsoft.VisualStudio.TelemetryForPPT
【发布时间】:2017-04-10 07:12:23
【问题描述】:

在 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]. 

有解决问题的建议吗?

【问题讨论】:

  • 尝试修复或重新安装VS 2017。
  • 是的,我现在正在这样做......
  • Activity.log 说什么?另外,如果您运行 ProcessMonitor,VS2017 在哪里寻找文件?
  • 我没试过。奇怪的是它一直工作到周五晚上,今天早上就不再工作了,显然系统没有任何变化。

标签: startup visual-studio-2017 productivity-power-tools


【解决方案1】:

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 版后,就我而言,这个问题似乎得到了解决。

【讨论】:

  • 修复 Visual Studio 2017 后,我重新安装了 Productivity Power Tools,但没有发现任何问题
  • 对我来说,安装最新的VS更新后,问题解决了。
【解决方案2】:

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-03-14
    • 2018-10-21
    • 2019-02-01
    • 2018-03-23
    • 1970-01-01
    • 2017-02-11
    相关资源
    最近更新 更多