错误详情:
StreamJsonRpc.ConnectionLostException : 在请求完成之前, 与远程方的 JSON-RPC 连接已丢失。 ---> System.OperationCanceledException : 已取消该操作。
at System.Threading.CancellationToken.ThrowOperationCanceledException()
at async StreamJsonRpc.MessageHandlerBase.WriteAsync(<未知参数>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async StreamJsonRpc.JsonRpc.SendAsync(<未知参数>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async StreamJsonRpc.JsonRpc.InvokeCoreAsync(<未知参数>)
--- 内部异常堆栈跟踪的末尾 ---
at async StreamJsonRpc.JsonRpc.InvokeCoreAsync(<未知参数>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async StreamJsonRpc.JsonRpc.InvokeCoreAsync[TResult](<未知参数>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Threading.Tasks.ValueTask`1.get_Result()
at async Microsoft.CodeAnalysis.Remote.BrokeredServiceConnection`1.TryInvokeAsync[TService,TResult](<未知参数>)
VS2019的问题,VS已经修复了,VS2022中重启后解决