由于内部错误,Visual Studio 2022 功能不可用

Ach*_*lev 6 visual-studio visual-studio-2022

从过去大约半小时开始,我一直收到以下错误:

StreamJsonRpc.ConnectionLostException : The JSON-RPC connection with the remote party was lost before the request could complete. ---> System.OperationCanceledException : The operation was canceled.
   at System.Threading.CancellationToken.ThrowOperationCanceledException()
   at async StreamJsonRpc.MessageHandlerBase.WriteAsync(<Unknown Parameters>)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at async StreamJsonRpc.JsonRpc.TransmitAsync(<Unknown Parameters>)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at async StreamJsonRpc.JsonRpc.InvokeCoreAsync(<Unknown Parameters>)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
   --- End of inner exception stack trace ---
   at async StreamJsonRpc.JsonRpc.InvokeCoreAsync(<Unknown Parameters>)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at async StreamJsonRpc.JsonRpc.InvokeCoreAsync[TResult](<Unknown Parameters>)
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at async Microsoft.CodeAnalysis.Remote.BrokeredServiceConnection`1.TryInvokeAsync[TService,TResult](<Unknown Parameters>)
Run Code Online (Sandbox Code Playgroud)

这也是一个屏幕截图:在此输入图像描述

目前我使用的是 VS Community 2022 17.0.5。当我编写代码或构建代码时,会显示这些错误。构建应用程序时没有错误并且可以运行。但是任何类型的 IntelliSense 都会失败,而且代码也不会自动对齐。我已尝试重新加载和重新安装,但这些错误仍然存​​在。

小智 2

我上次遇到了这个问题,我可以通过取消选中“启用 IntelliTrace” Sceenshot将其关闭