【问题标题】:Can't run Visual Studio 2022 profiler after wiping %TEMP% folder擦除 %TEMP% 文件夹后无法运行 Visual Studio 2022 探查器
【发布时间】:2023-01-22 19:46:43
【问题描述】:

在我的 PC 存储过度使用出现问题后,我发现我有 %TEMP% 文件夹,它消耗了 40GB 的内存。我完全清除了它,但现在我的 Visual Studio 2022 的探查器不起作用。我在Output 窗口中有错误:Exception of type 'Microsoft.DiagnosticsHub.Diagnostics.CollectionStartFailedHubException' was thrown。我在Output: Could not found specified file (HRESULT: 0xe1110002) 也有这个错误。我不能断言这些错误与 %TEMP% 文件夹有关,但仍然如此。此外,我正在尝试运行“CPU 使用率”分析器。

【问题讨论】:

  • 我在同样的问题上苦苦挣扎,它似乎与您的临时文件夹无关。

标签: windows visual-studio ide profiling visual-studio-2022


【解决方案1】:

看来您对 Visual Studio Temp 文件夹做了一些不好的事情。您可以在 Visual Studio 安装程序中看到该路径。

如果不幸删除了此文件夹,最简单的解决方案是删除整个 Visual Studio 并重新安装。

如果没有,the following steps 可能对你有帮助:

  • 按⊞+R
  • 类型服务.msc
  • 点击确定
  • 启用 Visual Studio 标准收集器服务 150
  • 在服务列表中找到Visual Studio Standard Collector Service 150
  • 右键单击其名称
  • 点击开始

祝你好运。

【讨论】:

    猜你喜欢
    • 2022-12-20
    • 2022-07-02
    • 2010-09-16
    • 2022-06-30
    • 1970-01-01
    • 2022-01-20
    • 2014-05-22
    • 2021-11-23
    • 2022-01-25
    相关资源
    最近更新 更多