大网数据广告活动
Web服务器与PHP

A process has encountered an unrecoverable error

· 52CE 我爱测

Learn about the processes that might encounter unrecoverable errors during the normal operations of Visual Studio.

Applies to: Visual Studio

Visual Studio uses several out-of-proc processes to run required background tasks, such as live unit testing, code analyzers, and more. These processes are run out-of-proc to give Visual Studio performance advantages, such as enabling Visual Studio to respond faster when running long, resource-intensive jobs. Especially, for Visual Studio 2019 or previous versions, because it's a 32-bit process, running processes out-of-proc gives memory intensive work a larger memory space in which to operate.

If the ServiceHub.RoslynCodeAnalysisService.exe or ServiceHub.RoslynCodeAnalysisService32.exe process ends for some reason, a pop-up information bar appears with the following message:

Unfortunately, a process used by Visual Studio has encountered an unrecoverable error. We recommend saving your work, and then closing and restarting Visual Studio.

If you see the message, save your work, and then close and restart Visual Studio.

List of processes

Following is a list of out-of-proc processes used by Visual Studio. This list is inclusive of processes that launch in specific workflows or scenarios, and so in most cases they aren't all running at the same time.

  • Microsoft.Alm.Shared.Remoting.RemoteContainer.dll
  • Microsoft.CodeAnalysis.LiveUnitTesting.EntryPoint
  • MSBuild.exe
  • PerfWatson2.exe
  • ScriptedSandbox64.exe
  • ServiceHub.Host.CLR.x86.exe
  • ServiceHub.Host.Node.x86.exe
  • ServiceHub.IdentityHost.exe
  • ServiceHub.RoslynCodeAnalysisService.exe
  • ServiceHub.RoslynCodeAnalysisService32.exe
  • ServiceHub.SettingsHost.exe
  • ServiceHub.VSDetouredHost.exe
  • VBCSCompiler.exe
  • VsHub.exe
  • vstest.discoveryengine.x86.exe
  • WaAppAgent.exe
  • WindowsAzureGuestAgent.exe
  • WindowsAzureTelemetryService.exe

If any of these processes terminates unexpectedly, some functionalities within Visual Studio stop working. For some processes, the loss of functionality may be insignificant. For others, the stability of Visual Studio is affected and an error message is displayed.

Note: If you experience a problem that's not referenced on this page, please report it to us via the Report a Problem tool that appears both in the Visual Studio Installer and in the Visual Studio IDE.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors (upstream author metadata: aartig13). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
See source applicability · Source date 10/14/2021
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。