Closed arnaudauroux closed 1 year ago
When the C# dev kit extension is activated, the language server cannot start. Same problem when restarting the language server.
Open a Net project with both C# and C# dev kit extension activated. The language server hangs at "Starting server..." process.
Dotnet Server debug logs [LanguageServerHost]workspace/diagnostic - Canceled [LanguageServerHost][07:46:48.849][End]workspace/diagnostic [LanguageServerHost]Shutting down [Info - 09:46:48] Shutting down Dotnet path: /Users/[HIDDEN_FILENAME_FOR_PRIVACY]]/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/7.0.8/dotnet Activating C# + C# Dev Kit + C# IntelliCode... Starting server at /Users/[HIDDEN_FILENAME_FOR_PRIVACY]]/.vscode/extensions/ms-dotnettools.csharp-2.0.248-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.LanguageServer.dll dbug: LanguageServerWorkspaceFactory[0] Solution-level analyzer at /Users/[HIDDEN_FILENAME_FOR_PRIVACY]]/.vscode/extensions/ms-dotnettools.csharp-2.0.248-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.Remote.Workspaces.dll added to workspace. dbug: LanguageServerWorkspaceFactory[0] Solution-level analyzer at /Users/[HIDDEN_FILENAME_FOR_PRIVACY]]/.vscode/extensions/ms-dotnettools.csharp-2.0.248-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.CSharp.Workspaces.dll added to workspace. dbug: LanguageServerWorkspaceFactory[0] Solution-level analyzer at /Users/[HIDDEN_FILENAME_FOR_PRIVACY]]/.vscode/extensions/ms-dotnettools.csharp-2.0.248-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.CSharp.dll added to workspace. dbug: LanguageServerWorkspaceFactory[0] Solution-level analyzer at /Users/[HIDDEN_FILENAME_FOR_PRIVACY]]/.vscode/extensions/ms-dotnettools.csharp-2.0.248-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.Razor.dll added to workspace. dbug: LanguageServerWorkspaceFactory[0] Solution-level analyzer at /Users/[HIDDEN_FILENAME_FOR_PRIVACY]]/.vscode/extensions/ms-dotnettools.csharp-2.0.248-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.Scripting.dll added to workspace. dbug: LanguageServerWorkspaceFactory[0] Solution-level analyzer at /Users/[HIDDEN_FILENAME_FOR_PRIVACY]]/.vscode/extensions/ms-dotnettools.csharp-2.0.248-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.Workspaces.MSBuild.dll added to workspace. dbug: LanguageServerWorkspaceFactory[0] Solution-level analyzer at /Users/[HIDDEN_FILENAME_FOR_PRIVACY]]/.vscode/extensions/ms-dotnettools.csharp-2.0.248-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.Elfie.dll added to workspace. dbug: LanguageServerWorkspaceFactory[0] Solution-level analyzer at /Users/[HIDDEN_FILENAME_FOR_PRIVACY]]/.vscode/extensions/ms-dotnettools.csharp-2.0.248-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.dll added to workspace. dbug: LanguageServerWorkspaceFactory[0] Solution-level analyzer at /Users/[HIDDEN_FILENAME_FOR_PRIVACY]]/.vscode/extensions/ms-dotnettools.csharp-2.0.248-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.CSharp.Features.dll added to workspace. dbug: LanguageServerWorkspaceFactory[0] Solution-level analyzer at /Users/[HIDDEN_FILENAME_FOR_PRIVACY]]/.vscode/extensions/ms-dotnettools.csharp-2.0.248-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.Workspaces.dll added to workspace. dbug: LanguageServerWorkspaceFactory[0] Solution-level analyzer at /Users/[HIDDEN_FILENAME_FOR_PRIVACY]]/.vscode/extensions/ms-dotnettools.csharp-2.0.248-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.AnalyzerUtilities.dll added to workspace. dbug: LanguageServerWorkspaceFactory[0] Solution-level analyzer at /Users/[HIDDEN_FILENAME_FOR_PRIVACY]]/.vscode/extensions/ms-dotnettools.csharp-2.0.248-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.Features.dll added to workspace. info: LanguageServerHost[0] Starting server... [LanguageServerHost][07:46:49.588][Start]initialize [LanguageServerHost][07:46:49.600][Start]Initialize [LanguageServerHost][07:46:49.645][End]Initialize [LanguageServerHost][07:46:49.657][End]initialize [LanguageServerHost][07:46:49.658][Start]initialized [LanguageServerHost][07:46:49.692][End]initialized [LanguageServerHost][07:46:49.693][Start]serviceBroker/connect [LanguageServerHost][07:46:49.694][Start]textDocument/didOpen [LanguageServerHost]didOpen for file://[HIDDEN_FILENAME_FOR_PRIVACY]].cs [LanguageServerHost][07:46:49.697][End]textDocument/didOpen [LanguageServerHost][07:46:49.697][Start]textDocument/didOpen [LanguageServerHost]didOpen for file:///Users/[HIDDEN_FILENAME_FOR_PRIVACY]][HIDDEN_FILENAME_FOR_PRIVACY]] [LanguageServerHost][07:46:49.698][End]textDocument/didOpen [LanguageServerHost][07:46:49.698][Start]textDocument/didOpen [LanguageServerHost]didOpen for file://[HIDDEN_FILENAME_FOR_PRIVACY]].cs [LanguageServerHost][07:46:49.698][End]textDocument/didOpen [BrokeredServiceTraceListener]ServiceBroker Information: 1 : [BrokeredServiceTraceListener]SameProcess proffered brokered service(s): Microsoft.VisualStudio.RemoteBrokeredServiceManifest (0.2). [BrokeredServiceTraceListener]ServiceBroker Information: 1 : [BrokeredServiceTraceListener]SameProcess proffered brokered service(s): Microsoft.VisualStudio.GlobalBrokeredServiceContainer.MissingServiceDiagnostics (1.0). [BrokeredServiceTraceListener]ServiceBroker Information: 1 : [BrokeredServiceTraceListener]SameProcess proffered brokered service(s): Microsoft.ServiceHub.Framework.AuthorizationService. [LanguageServerHost]Could not find 'file://[HIDDEN_FILENAME_FOR_PRIVACY]].cs'. Searched Host [BrokeredServiceTraceListener]ServiceBroker Information: 1 : [BrokeredServiceTraceListener]SameProcess proffered brokered service(s): Microsoft.VisualStudio.LanguageServices.WorkspaceProjectFactoryService, Microsoft.CodeAnalysis.LanguageServer.IHelloWorld (0.1), Microsoft.VisualStudio.Server.IBrokeredServiceBridgeManifest (0.1). [Microsoft.CodeAnalysis.LanguageServer.BrokeredServices.BrokeredServiceBridgeProvider]Setting up brokered service bridge [BrokeredServiceTraceListener]ServiceBroker Start: 0 : [BrokeredServiceTraceListener]Requesting proxy to "helloServiceHubDotNetHost (0.1)" [BrokeredServiceTraceListener]ServiceBroker Warning: 3 : [BrokeredServiceTraceListener]Brokered service "helloServiceHubDotNetHost (0.1)" has no proffering source and no package registered to load. [BrokeredServiceTraceListener]ServiceBroker Warning: 2 : [BrokeredServiceTraceListener]Request for proxy to "helloServiceHubDotNetHost (0.1)" is declined: ServiceFactoryNotProffered. [BrokeredServiceTraceListener]ServiceBroker Stop: 0 : [BrokeredServiceTraceListener]Requesting proxy to "helloServiceHubDotNetHost (0.1)" [BrokeredServiceTraceListener]ServiceBroker Information: 0 : [BrokeredServiceTraceListener]Added local RPC method "handshake" -> Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.HandshakeAsync(ServiceBrokerClientMetadata, CancellationToken) (Microsoft.ServiceHub.Framework.IpcRelayServiceBroker) [BrokeredServiceTraceListener]ServiceBroker Information: 0 : [BrokeredServiceTraceListener]Added local RPC method "requestServiceChannel" -> Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken) (Microsoft.ServiceHub.Framework.IpcRelayServiceBroker) [BrokeredServiceTraceListener]ServiceBroker Information: 0 : [BrokeredServiceTraceListener]Added local RPC method "cancelServiceRequest" -> Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.CancelServiceRequestAsync(Guid) (Microsoft.ServiceHub.Framework.IpcRelayServiceBroker) [BrokeredServiceTraceListener]ServiceBroker Information: 0 : [BrokeredServiceTraceListener]Added local RPC method "dispose" -> Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.Dispose() (Microsoft.ServiceHub.Framework.IpcRelayServiceBroker) [BrokeredServiceTraceListener]ServiceBroker Information: 0 : [BrokeredServiceTraceListener]Added local RPC method "handshake" -> Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.HandshakeAsync(ServiceBrokerClientMetadata, CancellationToken) (Microsoft.ServiceHub.Framework.IpcRelayServiceBroker) [BrokeredServiceTraceListener]ServiceBroker Information: 0 : [BrokeredServiceTraceListener]Added local RPC method "requestServiceChannel" -> Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken) (Microsoft.ServiceHub.Framework.IpcRelayServiceBroker) [BrokeredServiceTraceListener]ServiceBroker Information: 0 : [BrokeredServiceTraceListener]Added local RPC method "cancelServiceRequest" -> Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.CancelServiceRequestAsync(Guid) (Microsoft.ServiceHub.Framework.IpcRelayServiceBroker) [BrokeredServiceTraceListener]ServiceBroker Information: 2 : [BrokeredServiceTraceListener]Listening for events from Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.AvailabilityChanged to raise notification. [BrokeredServiceTraceListener]ServiceBroker Information: 3 : [BrokeredServiceTraceListener]Listening started. [BrokeredServiceTraceListener]ServiceBroker Information: 7 : [BrokeredServiceTraceListener]{"id":2,"method":"handshake"} [BrokeredServiceTraceListener]ServiceBroker Verbose: 7 : [BrokeredServiceTraceListener]Received: { "jsonrpc": "2.0", "id": 2, "method": "handshake", "params": [ { "supportedConnections": "IpcPipe", "localServiceHost": { "operatingSystem": 2, "processArchitecture": 3, "runtime": 2, "runtimeVersion": "7.0.8" } } ] } [BrokeredServiceTraceListener]ServiceBroker Information: 6 : [BrokeredServiceTraceListener]Received request "2" for method "handshake". [LanguageServerHost][07:46:49.740][Start]textDocument/diagnostic [LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics [LanguageServerHost]previousResults.Length=0 [BrokeredServiceTraceListener]ServiceBroker Information: 9 : [BrokeredServiceTraceListener]Invoking Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.HandshakeAsync(ServiceBrokerClientMetadata, CancellationToken) [BrokeredServiceTraceListener]ServiceBroker Start: 0 : [BrokeredServiceTraceListener]handshake [LanguageServerHost]Processing 1 documents [BrokeredServiceTraceListener]ServiceBroker Stop: 0 : [BrokeredServiceTraceListener]handshake [BrokeredServiceTraceListener]ServiceBroker Information: 8 : [BrokeredServiceTraceListener]{"id":2} [BrokeredServiceTraceListener]ServiceBroker Verbose: 8 : [BrokeredServiceTraceListener]Sent: { "jsonrpc": "2.0", "id": 2, "result": null } [BrokeredServiceTraceListener]ServiceBroker Information: 7 : [BrokeredServiceTraceListener]{"id":3,"method":"requestServiceChannel"} [BrokeredServiceTraceListener]ServiceBroker Verbose: 7 : [BrokeredServiceTraceListener]Received: { "jsonrpc": "2.0", "id": 3, "method": "requestServiceChannel", "params": [ { "name": "Microsoft.VisualStudio.Server.IBrokeredServiceBridgeManifest", "version": "0.1" }, { "clientCulture": "en-GB", "clientUICulture": "en-GB" } ] } [BrokeredServiceTraceListener]ServiceBroker Information: 6 : [BrokeredServiceTraceListener]Received request "3" for method "requestServiceChannel". [LanguageServerHost]Could not find 'file:///Users/[HIDDEN_FILENAME_FOR_PRIVACY]][HIDDEN_FILENAME_FOR_PRIVACY]]'. Searched Host;MiscellaneousFiles [LanguageServerHost][07:46:49.752][Start]textDocument/diagnostic [LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics [LanguageServerHost]previousResults.Length=0 [LanguageServerHost]Processing 1 documents [LanguageServerHost]Could not find 'file://[HIDDEN_FILENAME_FOR_PRIVACY]].cs'. Searched Host;MiscellaneousFiles [BrokeredServiceTraceListener]ServiceBroker Information: 0 : [BrokeredServiceTraceListener]Added local RPC method "availabilityChanged" -> _proxy_Microsoft.ServiceHub.Framework.IRemoteServiceBroker_a0a8fe91-260b-42bc-8e0c-7075fff2f6af.OnAvailabilityChanged(BrokeredServicesChangedEventArgs) (_proxy_Microsoft.ServiceHub.Framework.IRemoteServiceBroker_a0a8fe91-260b-42bc-8e0c-7075fff2f6af) [BrokeredServiceTraceListener]ServiceBroker Information: 3 : [BrokeredServiceTraceListener]Listening started. [LanguageServerHost][07:46:49.753][Start]textDocument/diagnostic [LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics [BrokeredServiceTraceListener]ServiceBroker Information: 1 : [LanguageServerHost]previousResults.Length=0 [BrokeredServiceTraceListener]IRemoteServiceBroker proffered from remote source: OtherProcessOnSameMachine. [LanguageServerHost]Processing 1 documents [BrokeredServiceTraceListener]ServiceBroker Information: 9 : [BrokeredServiceTraceListener]Invoking Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken) [BrokeredServiceTraceListener]ServiceBroker Start: 0 : [BrokeredServiceTraceListener]requestServiceChannel [LanguageServerHost][07:46:49.756][Start]workspace/diagnostic [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:49.757][Start]textDocument/documentSymbol [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:49.757][Start]textDocument/codeAction [LanguageServerHost][07:46:49.757][Start]textDocument/inlayHint [BrokeredServiceTraceListener]ServiceBroker Information: 1 : [BrokeredServiceTraceListener]OtherProcessOnSameMachine proffered brokered service(s): vs-intellicode-base-models (0.1), Microsoft.VisualStudio.Debugger.ManagedHotReloadService (0.1), helloServiceHubDotNetHost (0.1), Microsoft.CodeAnalysis.LanguageClient.SolutionSnapshotProvider (0.1), Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService (0.1). [BrokeredServiceTraceListener]ServiceBroker Transfer: 0 : [BrokeredServiceTraceListener]Transfer, relatedActivityId=abc27473-911c-42d4-bd7c-05997ce1a12c [BrokeredServiceTraceListener]ServiceBroker Start: 0 : [LanguageServerHost]PublicWorkspacePullDiagnosticsHandler(category: ) started getting diagnostics [BrokeredServiceTraceListener]Requesting pipe to "Microsoft.VisualStudio.Server.IBrokeredServiceBridgeManifest (0.1)" [BrokeredServiceTraceListener]ServiceBroker Information: 2 : [BrokeredServiceTraceListener]Request for "Microsoft.VisualStudio.Server.IBrokeredServiceBridgeManifest (0.1)" will be fulfilled by SameProcess [BrokeredServiceTraceListener]ServiceBroker Information: 2 : [BrokeredServiceTraceListener]Request for "helloServiceHubDotNetHost (0.1)" will be fulfilled by OtherProcessOnSameMachine [BrokeredServiceTraceListener]ServiceBroker Start: 0 : [BrokeredServiceTraceListener]Requesting proxy to "helloServiceHubDotNetHost (0.1)" [BrokeredServiceTraceListener]ServiceBroker Information: 2 : [BrokeredServiceTraceListener]Request for "helloServiceHubDotNetHost (0.1)" will be fulfilled by OtherProcessOnSameMachine [LanguageServerHost]previousResults.Length=0 [BrokeredServiceTraceListener]ServiceBroker Transfer: 0 : [BrokeredServiceTraceListener]Transfer, relatedActivityId=07d3070b-931c-4a84-b45d-3ed8d7f77269 [BrokeredServiceTraceListener]ServiceBroker Start: 0 : [BrokeredServiceTraceListener]Requesting proxy to "Microsoft.ServiceHub.Framework.AuthorizationService" [BrokeredServiceTraceListener]ServiceBroker Information: 2 : [BrokeredServiceTraceListener]Request for "Microsoft.ServiceHub.Framework.AuthorizationService" will be fulfilled by SameProcess [LanguageServerHost]Processing 0 documents [LanguageServerHost]Closing workspace/diagnostics request [LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicWorkspacePullDiagnosticsHandler finished getting diagnostics [LanguageServerHost][07:46:49.766][End]workspace/diagnostic [BrokeredServiceTraceListener]ServiceBroker Information: 8 : [BrokeredServiceTraceListener]{"id":2,"method":"handshake"} [BrokeredServiceTraceListener]ServiceBroker Verbose: 8 : [BrokeredServiceTraceListener]Sent: { "traceparent": "00-e0a826236947414a8a216795c81c66df-a0f87c3751c37040-01", "jsonrpc": "2.0", "id": 2, "method": "handshake", "params": [ { "supportedConnections": "Multiplexing, IpcPipe", "localServiceHost": { "operatingSystem": 2, "processArchitecture": 3, "runtime": 2, "runtimeVersion": "7.0.8" } } ] } [BrokeredServiceTraceListener]ServiceBroker Information: 7 : [BrokeredServiceTraceListener]{"id":2} [BrokeredServiceTraceListener]ServiceBroker Verbose: 7 : [BrokeredServiceTraceListener]Received: { "jsonrpc": "2.0", "id": 2, "result": null } [BrokeredServiceTraceListener]ServiceBroker Information: 11 : [BrokeredServiceTraceListener]Received result for request "2". [BrokeredServiceTraceListener]ServiceBroker Information: 2 : [BrokeredServiceTraceListener]Request for proxy to "Microsoft.ServiceHub.Framework.AuthorizationService" is Fulfilled by SameProcess: NoExplanation. [BrokeredServiceTraceListener]ServiceBroker Stop: 0 : [BrokeredServiceTraceListener]Requesting proxy to "Microsoft.ServiceHub.Framework.AuthorizationService" [BrokeredServiceTraceListener]ServiceBroker Transfer: 0 : [BrokeredServiceTraceListener]Transfer, relatedActivityId=abc27473-911c-42d4-bd7c-05997ce1a12c [LanguageServerHost][07:46:49.775][End]textDocument/inlayHint [BrokeredServiceTraceListener]ServiceBroker Information: 2 : [BrokeredServiceTraceListener]Request for pipe to "Microsoft.VisualStudio.Server.IBrokeredServiceBridgeManifest (0.1)" is Fulfilled by SameProcess: NoExplanation. [BrokeredServiceTraceListener]ServiceBroker Stop: 0 : [BrokeredServiceTraceListener]Requesting pipe to "Microsoft.VisualStudio.Server.IBrokeredServiceBridgeManifest (0.1)" [BrokeredServiceTraceListener]ServiceBroker Transfer: 0 : [BrokeredServiceTraceListener]Transfer, relatedActivityId=06cb748f-d508-4293-b444-339161217a3e [BrokeredServiceTraceListener]ServiceBroker Information: 8 : [BrokeredServiceTraceListener]{"id":3,"method":"requestServiceChannel"} [BrokeredServiceTraceListener]ServiceBroker Verbose: 8 : [BrokeredServiceTraceListener]Sent: { "traceparent": "00-e0a826236947414a8a216795c81c66df-23018dfbce29a64f-01", "jsonrpc": "2.0", "id": 3, "method": "requestServiceChannel", "params": [ { "name": "helloServiceHubDotNetHost", "version": "0.1" }, { "clientCredentials": {}, "clientCulture": "en-FR", "clientUICulture": "en-FR" } ] } [BrokeredServiceTraceListener]ServiceBroker Stop: 0 : [BrokeredServiceTraceListener]requestServiceChannel [BrokeredServiceTraceListener]ServiceBroker Information: 8 : [BrokeredServiceTraceListener]{"id":3} [BrokeredServiceTraceListener]ServiceBroker Verbose: 8 : [BrokeredServiceTraceListener]Sent: { "jsonrpc": "2.0", "id": 3, "result": { "requestId": "0b9006fa-2c48-45b5-850b-2e87e1d216e4", "pipeName": "/var/folders/fs/095mkw911j5gcg4m7h59zd9h0000gn/T/e80c8ee66c3d4cfcbdb28be984bd9a17", "isEmpty": false } } [BrokeredServiceTraceListener]ServiceBroker Information: 7 : [BrokeredServiceTraceListener]{"id":3} [BrokeredServiceTraceListener]ServiceBroker Verbose: 7 : [BrokeredServiceTraceListener]Received: { "jsonrpc": "2.0", "id": 3, "result": { "requestId": "80a46d13-d763-410e-979e-09d812cf033d", "multiplexingChannelId": 3, "isEmpty": false } } [BrokeredServiceTraceListener]ServiceBroker Information: 11 : [BrokeredServiceTraceListener]Received result for request "3". [BrokeredServiceTraceListener]ServiceBroker Information: 2 : [BrokeredServiceTraceListener]Request for proxy to "helloServiceHubDotNetHost (0.1)" is Fulfilled by OtherProcessOnSameMachine: NoExplanation. [BrokeredServiceTraceListener]ServiceBroker Stop: 0 : [BrokeredServiceTraceListener]Requesting proxy to "helloServiceHubDotNetHost (0.1)" [Microsoft.CodeAnalysis.LanguageServer.BrokeredServices.Services.BrokeredServiceBridgeManifest.BrokeredServiceBridgeManifest]Proffered services: Microsoft.VisualStudio.LanguageServices.WorkspaceProjectFactoryService,Microsoft.CodeAnalysis.LanguageServer.IHelloWorld (0.1) [Microsoft.CodeAnalysis.LanguageServer.BrokeredServices.Services.HelloWorld.RemoteHelloWorldProvider]Response from remote: Hello, C#! - with love from ServiceHub running on .NET [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:49.798][Start]textDocument/semanticTokens/range [LanguageServerHost][07:46:49.801][End]serviceBroker/connect [BrokeredServiceTraceListener]ServiceBroker Information: 13 : [BrokeredServiceTraceListener]Connection closing (RemotePartyTerminated: Reached end of stream.). [LanguageServerHost]Found 0 diagnostics for DocumentDiagnosticSource: /Users/[HIDDEN_FILENAME_FOR_PRIVACY]][HIDDEN_FILENAME_FOR_PRIVACY]] in Miscellaneous Files [LanguageServerHost]Found 0 diagnostics for DocumentDiagnosticSource: [HIDDEN_FILENAME_FOR_PRIVACY]].cs in Miscellaneous Files [LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics [LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics [LanguageServerHost][07:46:49.827][End]textDocument/diagnostic [LanguageServerHost][07:46:49.827][End]textDocument/diagnostic [LanguageServerHost]Found 0 diagnostics for DocumentDiagnosticSource: [HIDDEN_FILENAME_FOR_PRIVACY]].cs in Miscellaneous Files [LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics [LanguageServerHost][07:46:49.829][End]textDocument/diagnostic [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:49.871][Start]textDocument/foldingRange [LanguageServerHost][07:46:49.901][End]textDocument/foldingRange [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:49.913][Start]textDocument/codeLens [LanguageServerHost][07:46:49.920][End]textDocument/codeLens [LanguageServerHost][07:46:50.002][End]textDocument/documentSymbol [LanguageServerHost]/Users/[HIDDEN_FILENAME_FOR_PRIVACY]][HIDDEN_FILENAME_FOR_PRIVACY]] found in workspace MiscellaneousFiles [LanguageServerHost][07:46:50.036][Start]textDocument/diagnostic [LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics [LanguageServerHost]previousResults.Length=1 [LanguageServerHost]Processing 1 documents [LanguageServerHost]Diagnostics were unchanged for DocumentDiagnosticSource: /Users/[HIDDEN_FILENAME_FOR_PRIVACY]][HIDDEN_FILENAME_FOR_PRIVACY]] in Miscellaneous Files [LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics [LanguageServerHost][07:46:50.040][End]textDocument/diagnostic [LanguageServerHost][07:46:50.070][End]textDocument/codeAction [LanguageServerHost][07:46:50.099][End]textDocument/semanticTokens/range [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:50.123][Start]textDocument/inlayHint [LanguageServerHost][07:46:50.123][End]textDocument/inlayHint [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:50.141][Start]textDocument/semanticTokens/range [LanguageServerHost][07:46:50.148][End]textDocument/semanticTokens/range [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:50.238][Start]textDocument/diagnostic [LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics [LanguageServerHost]previousResults.Length=1 [LanguageServerHost]Processing 1 documents [LanguageServerHost]Diagnostics were unchanged for DocumentDiagnosticSource: [HIDDEN_FILENAME_FOR_PRIVACY]].cs in Miscellaneous Files [LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics [LanguageServerHost][07:46:50.239][End]textDocument/diagnostic [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:50.261][Start]codeLens/resolve [LanguageServerHost][07:46:50.358][End]codeLens/resolve [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost]/Users/[HIDDEN_FILENAME_FOR_PRIVACY]][HIDDEN_FILENAME_FOR_PRIVACY]] found in workspace MiscellaneousFiles [LanguageServerHost][07:46:51.759][Start]textDocument/diagnostic [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:51.759][Start]textDocument/diagnostic [LanguageServerHost][07:46:51.759][Start]textDocument/diagnostic [LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics [LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics [LanguageServerHost]previousResults.Length=1 [LanguageServerHost]previousResults.Length=1 [LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics [LanguageServerHost]previousResults.Length=1 [LanguageServerHost]Processing 1 documents [LanguageServerHost]Processing 1 documents [LanguageServerHost]Processing 1 documents [LanguageServerHost]Diagnostics were unchanged for DocumentDiagnosticSource: /Users/[HIDDEN_FILENAME_FOR_PRIVACY]][HIDDEN_FILENAME_FOR_PRIVACY]] in Miscellaneous Files [LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics [LanguageServerHost]Diagnostics were unchanged for DocumentDiagnosticSource: [HIDDEN_FILENAME_FOR_PRIVACY]].cs in Miscellaneous Files [LanguageServerHost][07:46:51.760][End]textDocument/diagnostic [LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics [LanguageServerHost][07:46:51.760][End]textDocument/diagnostic [LanguageServerHost]Diagnostics were unchanged for DocumentDiagnosticSource: [HIDDEN_FILENAME_FOR_PRIVACY]].cs in Miscellaneous Files [LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics [LanguageServerHost][07:46:51.760][End]textDocument/diagnostic [LanguageServerHost][07:46:51.768][Start]workspace/diagnostic [LanguageServerHost]PublicWorkspacePullDiagnosticsHandler(category: ) started getting diagnostics [LanguageServerHost]previousResults.Length=0 [LanguageServerHost]Processing 0 documents [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:52.012][Start]textDocument/codeLens [LanguageServerHost][07:46:52.013][End]textDocument/codeLens [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:52.268][Start]codeLens/resolve [LanguageServerHost][07:46:52.270][End]codeLens/resolve [LanguageServerHost]/Users/[HIDDEN_FILENAME_FOR_PRIVACY]][HIDDEN_FILENAME_FOR_PRIVACY]] found in workspace MiscellaneousFiles [LanguageServerHost][07:46:53.487][Start]textDocument/diagnostic [LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics [LanguageServerHost]previousResults.Length=1 [LanguageServerHost]Processing 1 documents [LanguageServerHost]Diagnostics were unchanged for DocumentDiagnosticSource: /Users/[HIDDEN_FILENAME_FOR_PRIVACY]][HIDDEN_FILENAME_FOR_PRIVACY]] in Miscellaneous Files [LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics [LanguageServerHost][07:46:53.488][End]textDocument/diagnostic [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:53.531][Start]textDocument/codeLens [LanguageServerHost][07:46:53.532][End]textDocument/codeLens [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:53.688][Start]textDocument/diagnostic [LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics [LanguageServerHost]previousResults.Length=1 [LanguageServerHost]Processing 1 documents [LanguageServerHost]Diagnostics were unchanged for DocumentDiagnosticSource: [HIDDEN_FILENAME_FOR_PRIVACY]].cs in Miscellaneous Files [LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics [LanguageServerHost][07:46:53.689][End]textDocument/diagnostic [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:53.786][Start]codeLens/resolve [LanguageServerHost][07:46:53.789][End]codeLens/resolve [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:53.892][Start]textDocument/diagnostic [LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics [LanguageServerHost]previousResults.Length=1 [LanguageServerHost]Processing 1 documents [LanguageServerHost]Diagnostics were unchanged for DocumentDiagnosticSource: [HIDDEN_FILENAME_FOR_PRIVACY]].cs in Miscellaneous Files [LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics [LanguageServerHost][07:46:53.893][End]textDocument/diagnostic
The server starts successfully when I open a .NET project
Moving to area-roslyn as this has to do with the Language Service.
Describe the Issue
When the C# dev kit extension is activated, the language server cannot start. Same problem when restarting the language server.
Steps To Reproduce
Open a Net project with both C# and C# dev kit extension activated. The language server hangs at "Starting server..." process.
Dotnet Server debug logs [LanguageServerHost]workspace/diagnostic - Canceled [LanguageServerHost][07:46:48.849][End]workspace/diagnostic [LanguageServerHost]Shutting down [Info - 09:46:48] Shutting down Dotnet path: /Users/[HIDDEN_FILENAME_FOR_PRIVACY]]/Library/Application Support/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/7.0.8/dotnet Activating C# + C# Dev Kit + C# IntelliCode... Starting server at /Users/[HIDDEN_FILENAME_FOR_PRIVACY]]/.vscode/extensions/ms-dotnettools.csharp-2.0.248-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.LanguageServer.dll dbug: LanguageServerWorkspaceFactory[0] Solution-level analyzer at /Users/[HIDDEN_FILENAME_FOR_PRIVACY]]/.vscode/extensions/ms-dotnettools.csharp-2.0.248-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.Remote.Workspaces.dll added to workspace. dbug: LanguageServerWorkspaceFactory[0] Solution-level analyzer at /Users/[HIDDEN_FILENAME_FOR_PRIVACY]]/.vscode/extensions/ms-dotnettools.csharp-2.0.248-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.CSharp.Workspaces.dll added to workspace. dbug: LanguageServerWorkspaceFactory[0] Solution-level analyzer at /Users/[HIDDEN_FILENAME_FOR_PRIVACY]]/.vscode/extensions/ms-dotnettools.csharp-2.0.248-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.CSharp.dll added to workspace. dbug: LanguageServerWorkspaceFactory[0] Solution-level analyzer at /Users/[HIDDEN_FILENAME_FOR_PRIVACY]]/.vscode/extensions/ms-dotnettools.csharp-2.0.248-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.Razor.dll added to workspace. dbug: LanguageServerWorkspaceFactory[0] Solution-level analyzer at /Users/[HIDDEN_FILENAME_FOR_PRIVACY]]/.vscode/extensions/ms-dotnettools.csharp-2.0.248-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.Scripting.dll added to workspace. dbug: LanguageServerWorkspaceFactory[0] Solution-level analyzer at /Users/[HIDDEN_FILENAME_FOR_PRIVACY]]/.vscode/extensions/ms-dotnettools.csharp-2.0.248-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.Workspaces.MSBuild.dll added to workspace. dbug: LanguageServerWorkspaceFactory[0] Solution-level analyzer at /Users/[HIDDEN_FILENAME_FOR_PRIVACY]]/.vscode/extensions/ms-dotnettools.csharp-2.0.248-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.Elfie.dll added to workspace. dbug: LanguageServerWorkspaceFactory[0] Solution-level analyzer at /Users/[HIDDEN_FILENAME_FOR_PRIVACY]]/.vscode/extensions/ms-dotnettools.csharp-2.0.248-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.dll added to workspace. dbug: LanguageServerWorkspaceFactory[0] Solution-level analyzer at /Users/[HIDDEN_FILENAME_FOR_PRIVACY]]/.vscode/extensions/ms-dotnettools.csharp-2.0.248-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.CSharp.Features.dll added to workspace. dbug: LanguageServerWorkspaceFactory[0] Solution-level analyzer at /Users/[HIDDEN_FILENAME_FOR_PRIVACY]]/.vscode/extensions/ms-dotnettools.csharp-2.0.248-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.Workspaces.dll added to workspace. dbug: LanguageServerWorkspaceFactory[0] Solution-level analyzer at /Users/[HIDDEN_FILENAME_FOR_PRIVACY]]/.vscode/extensions/ms-dotnettools.csharp-2.0.248-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.AnalyzerUtilities.dll added to workspace. dbug: LanguageServerWorkspaceFactory[0] Solution-level analyzer at /Users/[HIDDEN_FILENAME_FOR_PRIVACY]]/.vscode/extensions/ms-dotnettools.csharp-2.0.248-darwin-arm64/.roslyn/Microsoft.CodeAnalysis.Features.dll added to workspace. info: LanguageServerHost[0] Starting server... [LanguageServerHost][07:46:49.588][Start]initialize [LanguageServerHost][07:46:49.600][Start]Initialize [LanguageServerHost][07:46:49.645][End]Initialize [LanguageServerHost][07:46:49.657][End]initialize [LanguageServerHost][07:46:49.658][Start]initialized [LanguageServerHost][07:46:49.692][End]initialized [LanguageServerHost][07:46:49.693][Start]serviceBroker/connect [LanguageServerHost][07:46:49.694][Start]textDocument/didOpen [LanguageServerHost]didOpen for file://[HIDDEN_FILENAME_FOR_PRIVACY]].cs [LanguageServerHost][07:46:49.697][End]textDocument/didOpen [LanguageServerHost][07:46:49.697][Start]textDocument/didOpen [LanguageServerHost]didOpen for file:///Users/[HIDDEN_FILENAME_FOR_PRIVACY]][HIDDEN_FILENAME_FOR_PRIVACY]] [LanguageServerHost][07:46:49.698][End]textDocument/didOpen [LanguageServerHost][07:46:49.698][Start]textDocument/didOpen [LanguageServerHost]didOpen for file://[HIDDEN_FILENAME_FOR_PRIVACY]].cs [LanguageServerHost][07:46:49.698][End]textDocument/didOpen [BrokeredServiceTraceListener]ServiceBroker Information: 1 : [BrokeredServiceTraceListener]SameProcess proffered brokered service(s): Microsoft.VisualStudio.RemoteBrokeredServiceManifest (0.2). [BrokeredServiceTraceListener]ServiceBroker Information: 1 : [BrokeredServiceTraceListener]SameProcess proffered brokered service(s): Microsoft.VisualStudio.GlobalBrokeredServiceContainer.MissingServiceDiagnostics (1.0). [BrokeredServiceTraceListener]ServiceBroker Information: 1 : [BrokeredServiceTraceListener]SameProcess proffered brokered service(s): Microsoft.ServiceHub.Framework.AuthorizationService. [LanguageServerHost]Could not find 'file://[HIDDEN_FILENAME_FOR_PRIVACY]].cs'. Searched Host [BrokeredServiceTraceListener]ServiceBroker Information: 1 : [BrokeredServiceTraceListener]SameProcess proffered brokered service(s): Microsoft.VisualStudio.LanguageServices.WorkspaceProjectFactoryService, Microsoft.CodeAnalysis.LanguageServer.IHelloWorld (0.1), Microsoft.VisualStudio.Server.IBrokeredServiceBridgeManifest (0.1). [Microsoft.CodeAnalysis.LanguageServer.BrokeredServices.BrokeredServiceBridgeProvider]Setting up brokered service bridge [BrokeredServiceTraceListener]ServiceBroker Start: 0 : [BrokeredServiceTraceListener]Requesting proxy to "helloServiceHubDotNetHost (0.1)" [BrokeredServiceTraceListener]ServiceBroker Warning: 3 : [BrokeredServiceTraceListener]Brokered service "helloServiceHubDotNetHost (0.1)" has no proffering source and no package registered to load. [BrokeredServiceTraceListener]ServiceBroker Warning: 2 : [BrokeredServiceTraceListener]Request for proxy to "helloServiceHubDotNetHost (0.1)" is declined: ServiceFactoryNotProffered. [BrokeredServiceTraceListener]ServiceBroker Stop: 0 : [BrokeredServiceTraceListener]Requesting proxy to "helloServiceHubDotNetHost (0.1)" [BrokeredServiceTraceListener]ServiceBroker Information: 0 : [BrokeredServiceTraceListener]Added local RPC method "handshake" -> Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.HandshakeAsync(ServiceBrokerClientMetadata, CancellationToken) (Microsoft.ServiceHub.Framework.IpcRelayServiceBroker) [BrokeredServiceTraceListener]ServiceBroker Information: 0 : [BrokeredServiceTraceListener]Added local RPC method "requestServiceChannel" -> Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken) (Microsoft.ServiceHub.Framework.IpcRelayServiceBroker) [BrokeredServiceTraceListener]ServiceBroker Information: 0 : [BrokeredServiceTraceListener]Added local RPC method "cancelServiceRequest" -> Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.CancelServiceRequestAsync(Guid) (Microsoft.ServiceHub.Framework.IpcRelayServiceBroker) [BrokeredServiceTraceListener]ServiceBroker Information: 0 : [BrokeredServiceTraceListener]Added local RPC method "dispose" -> Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.Dispose() (Microsoft.ServiceHub.Framework.IpcRelayServiceBroker) [BrokeredServiceTraceListener]ServiceBroker Information: 0 : [BrokeredServiceTraceListener]Added local RPC method "handshake" -> Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.HandshakeAsync(ServiceBrokerClientMetadata, CancellationToken) (Microsoft.ServiceHub.Framework.IpcRelayServiceBroker) [BrokeredServiceTraceListener]ServiceBroker Information: 0 : [BrokeredServiceTraceListener]Added local RPC method "requestServiceChannel" -> Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken) (Microsoft.ServiceHub.Framework.IpcRelayServiceBroker) [BrokeredServiceTraceListener]ServiceBroker Information: 0 : [BrokeredServiceTraceListener]Added local RPC method "cancelServiceRequest" -> Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.CancelServiceRequestAsync(Guid) (Microsoft.ServiceHub.Framework.IpcRelayServiceBroker) [BrokeredServiceTraceListener]ServiceBroker Information: 2 : [BrokeredServiceTraceListener]Listening for events from Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.AvailabilityChanged to raise notification. [BrokeredServiceTraceListener]ServiceBroker Information: 3 : [BrokeredServiceTraceListener]Listening started. [BrokeredServiceTraceListener]ServiceBroker Information: 7 : [BrokeredServiceTraceListener]{"id":2,"method":"handshake"} [BrokeredServiceTraceListener]ServiceBroker Verbose: 7 : [BrokeredServiceTraceListener]Received: { "jsonrpc": "2.0", "id": 2, "method": "handshake", "params": [ { "supportedConnections": "IpcPipe", "localServiceHost": { "operatingSystem": 2, "processArchitecture": 3, "runtime": 2, "runtimeVersion": "7.0.8" } } ] } [BrokeredServiceTraceListener]ServiceBroker Information: 6 : [BrokeredServiceTraceListener]Received request "2" for method "handshake". [LanguageServerHost][07:46:49.740][Start]textDocument/diagnostic [LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics [LanguageServerHost]previousResults.Length=0 [BrokeredServiceTraceListener]ServiceBroker Information: 9 : [BrokeredServiceTraceListener]Invoking Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.HandshakeAsync(ServiceBrokerClientMetadata, CancellationToken) [BrokeredServiceTraceListener]ServiceBroker Start: 0 : [BrokeredServiceTraceListener]handshake [LanguageServerHost]Processing 1 documents [BrokeredServiceTraceListener]ServiceBroker Stop: 0 : [BrokeredServiceTraceListener]handshake [BrokeredServiceTraceListener]ServiceBroker Information: 8 : [BrokeredServiceTraceListener]{"id":2} [BrokeredServiceTraceListener]ServiceBroker Verbose: 8 : [BrokeredServiceTraceListener]Sent: { "jsonrpc": "2.0", "id": 2, "result": null } [BrokeredServiceTraceListener]ServiceBroker Information: 7 : [BrokeredServiceTraceListener]{"id":3,"method":"requestServiceChannel"} [BrokeredServiceTraceListener]ServiceBroker Verbose: 7 : [BrokeredServiceTraceListener]Received: { "jsonrpc": "2.0", "id": 3, "method": "requestServiceChannel", "params": [ { "name": "Microsoft.VisualStudio.Server.IBrokeredServiceBridgeManifest", "version": "0.1" }, { "clientCulture": "en-GB", "clientUICulture": "en-GB" } ] } [BrokeredServiceTraceListener]ServiceBroker Information: 6 : [BrokeredServiceTraceListener]Received request "3" for method "requestServiceChannel". [LanguageServerHost]Could not find 'file:///Users/[HIDDEN_FILENAME_FOR_PRIVACY]][HIDDEN_FILENAME_FOR_PRIVACY]]'. Searched Host;MiscellaneousFiles [LanguageServerHost][07:46:49.752][Start]textDocument/diagnostic [LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics [LanguageServerHost]previousResults.Length=0 [LanguageServerHost]Processing 1 documents [LanguageServerHost]Could not find 'file://[HIDDEN_FILENAME_FOR_PRIVACY]].cs'. Searched Host;MiscellaneousFiles [BrokeredServiceTraceListener]ServiceBroker Information: 0 : [BrokeredServiceTraceListener]Added local RPC method "availabilityChanged" -> _proxy_Microsoft.ServiceHub.Framework.IRemoteServiceBroker_a0a8fe91-260b-42bc-8e0c-7075fff2f6af.OnAvailabilityChanged(BrokeredServicesChangedEventArgs) (_proxy_Microsoft.ServiceHub.Framework.IRemoteServiceBroker_a0a8fe91-260b-42bc-8e0c-7075fff2f6af) [BrokeredServiceTraceListener]ServiceBroker Information: 3 : [BrokeredServiceTraceListener]Listening started. [LanguageServerHost][07:46:49.753][Start]textDocument/diagnostic [LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics [BrokeredServiceTraceListener]ServiceBroker Information: 1 : [LanguageServerHost]previousResults.Length=0 [BrokeredServiceTraceListener]IRemoteServiceBroker proffered from remote source: OtherProcessOnSameMachine. [LanguageServerHost]Processing 1 documents [BrokeredServiceTraceListener]ServiceBroker Information: 9 : [BrokeredServiceTraceListener]Invoking Microsoft.ServiceHub.Framework.IpcRelayServiceBroker.RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken) [BrokeredServiceTraceListener]ServiceBroker Start: 0 : [BrokeredServiceTraceListener]requestServiceChannel [LanguageServerHost][07:46:49.756][Start]workspace/diagnostic [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:49.757][Start]textDocument/documentSymbol [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:49.757][Start]textDocument/codeAction [LanguageServerHost][07:46:49.757][Start]textDocument/inlayHint [BrokeredServiceTraceListener]ServiceBroker Information: 1 : [BrokeredServiceTraceListener]OtherProcessOnSameMachine proffered brokered service(s): vs-intellicode-base-models (0.1), Microsoft.VisualStudio.Debugger.ManagedHotReloadService (0.1), helloServiceHubDotNetHost (0.1), Microsoft.CodeAnalysis.LanguageClient.SolutionSnapshotProvider (0.1), Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService (0.1). [BrokeredServiceTraceListener]ServiceBroker Transfer: 0 : [BrokeredServiceTraceListener]Transfer, relatedActivityId=abc27473-911c-42d4-bd7c-05997ce1a12c [BrokeredServiceTraceListener]ServiceBroker Start: 0 : [LanguageServerHost]PublicWorkspacePullDiagnosticsHandler(category: ) started getting diagnostics [BrokeredServiceTraceListener]Requesting pipe to "Microsoft.VisualStudio.Server.IBrokeredServiceBridgeManifest (0.1)" [BrokeredServiceTraceListener]ServiceBroker Information: 2 : [BrokeredServiceTraceListener]Request for "Microsoft.VisualStudio.Server.IBrokeredServiceBridgeManifest (0.1)" will be fulfilled by SameProcess [BrokeredServiceTraceListener]ServiceBroker Information: 2 : [BrokeredServiceTraceListener]Request for "helloServiceHubDotNetHost (0.1)" will be fulfilled by OtherProcessOnSameMachine [BrokeredServiceTraceListener]ServiceBroker Start: 0 : [BrokeredServiceTraceListener]Requesting proxy to "helloServiceHubDotNetHost (0.1)" [BrokeredServiceTraceListener]ServiceBroker Information: 2 : [BrokeredServiceTraceListener]Request for "helloServiceHubDotNetHost (0.1)" will be fulfilled by OtherProcessOnSameMachine [LanguageServerHost]previousResults.Length=0 [BrokeredServiceTraceListener]ServiceBroker Transfer: 0 : [BrokeredServiceTraceListener]Transfer, relatedActivityId=07d3070b-931c-4a84-b45d-3ed8d7f77269 [BrokeredServiceTraceListener]ServiceBroker Start: 0 : [BrokeredServiceTraceListener]Requesting proxy to "Microsoft.ServiceHub.Framework.AuthorizationService" [BrokeredServiceTraceListener]ServiceBroker Information: 2 : [BrokeredServiceTraceListener]Request for "Microsoft.ServiceHub.Framework.AuthorizationService" will be fulfilled by SameProcess [LanguageServerHost]Processing 0 documents [LanguageServerHost]Closing workspace/diagnostics request [LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicWorkspacePullDiagnosticsHandler finished getting diagnostics [LanguageServerHost][07:46:49.766][End]workspace/diagnostic [BrokeredServiceTraceListener]ServiceBroker Information: 8 : [BrokeredServiceTraceListener]{"id":2,"method":"handshake"} [BrokeredServiceTraceListener]ServiceBroker Verbose: 8 : [BrokeredServiceTraceListener]Sent: { "traceparent": "00-e0a826236947414a8a216795c81c66df-a0f87c3751c37040-01", "jsonrpc": "2.0", "id": 2, "method": "handshake", "params": [ { "supportedConnections": "Multiplexing, IpcPipe", "localServiceHost": { "operatingSystem": 2, "processArchitecture": 3, "runtime": 2, "runtimeVersion": "7.0.8" } } ] } [BrokeredServiceTraceListener]ServiceBroker Information: 7 : [BrokeredServiceTraceListener]{"id":2} [BrokeredServiceTraceListener]ServiceBroker Verbose: 7 : [BrokeredServiceTraceListener]Received: { "jsonrpc": "2.0", "id": 2, "result": null } [BrokeredServiceTraceListener]ServiceBroker Information: 11 : [BrokeredServiceTraceListener]Received result for request "2". [BrokeredServiceTraceListener]ServiceBroker Information: 2 : [BrokeredServiceTraceListener]Request for proxy to "Microsoft.ServiceHub.Framework.AuthorizationService" is Fulfilled by SameProcess: NoExplanation. [BrokeredServiceTraceListener]ServiceBroker Stop: 0 : [BrokeredServiceTraceListener]Requesting proxy to "Microsoft.ServiceHub.Framework.AuthorizationService" [BrokeredServiceTraceListener]ServiceBroker Transfer: 0 : [BrokeredServiceTraceListener]Transfer, relatedActivityId=abc27473-911c-42d4-bd7c-05997ce1a12c [LanguageServerHost][07:46:49.775][End]textDocument/inlayHint [BrokeredServiceTraceListener]ServiceBroker Information: 2 : [BrokeredServiceTraceListener]Request for pipe to "Microsoft.VisualStudio.Server.IBrokeredServiceBridgeManifest (0.1)" is Fulfilled by SameProcess: NoExplanation. [BrokeredServiceTraceListener]ServiceBroker Stop: 0 : [BrokeredServiceTraceListener]Requesting pipe to "Microsoft.VisualStudio.Server.IBrokeredServiceBridgeManifest (0.1)" [BrokeredServiceTraceListener]ServiceBroker Transfer: 0 : [BrokeredServiceTraceListener]Transfer, relatedActivityId=06cb748f-d508-4293-b444-339161217a3e [BrokeredServiceTraceListener]ServiceBroker Information: 8 : [BrokeredServiceTraceListener]{"id":3,"method":"requestServiceChannel"} [BrokeredServiceTraceListener]ServiceBroker Verbose: 8 : [BrokeredServiceTraceListener]Sent: { "traceparent": "00-e0a826236947414a8a216795c81c66df-23018dfbce29a64f-01", "jsonrpc": "2.0", "id": 3, "method": "requestServiceChannel", "params": [ { "name": "helloServiceHubDotNetHost", "version": "0.1" }, { "clientCredentials": {}, "clientCulture": "en-FR", "clientUICulture": "en-FR" } ] } [BrokeredServiceTraceListener]ServiceBroker Stop: 0 : [BrokeredServiceTraceListener]requestServiceChannel [BrokeredServiceTraceListener]ServiceBroker Information: 8 : [BrokeredServiceTraceListener]{"id":3} [BrokeredServiceTraceListener]ServiceBroker Verbose: 8 : [BrokeredServiceTraceListener]Sent: { "jsonrpc": "2.0", "id": 3, "result": { "requestId": "0b9006fa-2c48-45b5-850b-2e87e1d216e4", "pipeName": "/var/folders/fs/095mkw911j5gcg4m7h59zd9h0000gn/T/e80c8ee66c3d4cfcbdb28be984bd9a17", "isEmpty": false } } [BrokeredServiceTraceListener]ServiceBroker Information: 7 : [BrokeredServiceTraceListener]{"id":3} [BrokeredServiceTraceListener]ServiceBroker Verbose: 7 : [BrokeredServiceTraceListener]Received: { "jsonrpc": "2.0", "id": 3, "result": { "requestId": "80a46d13-d763-410e-979e-09d812cf033d", "multiplexingChannelId": 3, "isEmpty": false } } [BrokeredServiceTraceListener]ServiceBroker Information: 11 : [BrokeredServiceTraceListener]Received result for request "3". [BrokeredServiceTraceListener]ServiceBroker Information: 2 : [BrokeredServiceTraceListener]Request for proxy to "helloServiceHubDotNetHost (0.1)" is Fulfilled by OtherProcessOnSameMachine: NoExplanation. [BrokeredServiceTraceListener]ServiceBroker Stop: 0 : [BrokeredServiceTraceListener]Requesting proxy to "helloServiceHubDotNetHost (0.1)" [Microsoft.CodeAnalysis.LanguageServer.BrokeredServices.Services.BrokeredServiceBridgeManifest.BrokeredServiceBridgeManifest]Proffered services: Microsoft.VisualStudio.LanguageServices.WorkspaceProjectFactoryService,Microsoft.CodeAnalysis.LanguageServer.IHelloWorld (0.1) [Microsoft.CodeAnalysis.LanguageServer.BrokeredServices.Services.HelloWorld.RemoteHelloWorldProvider]Response from remote: Hello, C#! - with love from ServiceHub running on .NET [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:49.798][Start]textDocument/semanticTokens/range [LanguageServerHost][07:46:49.801][End]serviceBroker/connect [BrokeredServiceTraceListener]ServiceBroker Information: 13 : [BrokeredServiceTraceListener]Connection closing (RemotePartyTerminated: Reached end of stream.). [LanguageServerHost]Found 0 diagnostics for DocumentDiagnosticSource: /Users/[HIDDEN_FILENAME_FOR_PRIVACY]][HIDDEN_FILENAME_FOR_PRIVACY]] in Miscellaneous Files [LanguageServerHost]Found 0 diagnostics for DocumentDiagnosticSource: [HIDDEN_FILENAME_FOR_PRIVACY]].cs in Miscellaneous Files [LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics [LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics [LanguageServerHost][07:46:49.827][End]textDocument/diagnostic [LanguageServerHost][07:46:49.827][End]textDocument/diagnostic [LanguageServerHost]Found 0 diagnostics for DocumentDiagnosticSource: [HIDDEN_FILENAME_FOR_PRIVACY]].cs in Miscellaneous Files [LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics [LanguageServerHost][07:46:49.829][End]textDocument/diagnostic [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:49.871][Start]textDocument/foldingRange [LanguageServerHost][07:46:49.901][End]textDocument/foldingRange [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:49.913][Start]textDocument/codeLens [LanguageServerHost][07:46:49.920][End]textDocument/codeLens [LanguageServerHost][07:46:50.002][End]textDocument/documentSymbol [LanguageServerHost]/Users/[HIDDEN_FILENAME_FOR_PRIVACY]][HIDDEN_FILENAME_FOR_PRIVACY]] found in workspace MiscellaneousFiles [LanguageServerHost][07:46:50.036][Start]textDocument/diagnostic [LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics [LanguageServerHost]previousResults.Length=1 [LanguageServerHost]Processing 1 documents [LanguageServerHost]Diagnostics were unchanged for DocumentDiagnosticSource: /Users/[HIDDEN_FILENAME_FOR_PRIVACY]][HIDDEN_FILENAME_FOR_PRIVACY]] in Miscellaneous Files [LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics [LanguageServerHost][07:46:50.040][End]textDocument/diagnostic [LanguageServerHost][07:46:50.070][End]textDocument/codeAction [LanguageServerHost][07:46:50.099][End]textDocument/semanticTokens/range [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:50.123][Start]textDocument/inlayHint [LanguageServerHost][07:46:50.123][End]textDocument/inlayHint [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:50.141][Start]textDocument/semanticTokens/range [LanguageServerHost][07:46:50.148][End]textDocument/semanticTokens/range [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:50.238][Start]textDocument/diagnostic [LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics [LanguageServerHost]previousResults.Length=1 [LanguageServerHost]Processing 1 documents [LanguageServerHost]Diagnostics were unchanged for DocumentDiagnosticSource: [HIDDEN_FILENAME_FOR_PRIVACY]].cs in Miscellaneous Files [LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics [LanguageServerHost][07:46:50.239][End]textDocument/diagnostic [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:50.261][Start]codeLens/resolve [LanguageServerHost][07:46:50.358][End]codeLens/resolve [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost]/Users/[HIDDEN_FILENAME_FOR_PRIVACY]][HIDDEN_FILENAME_FOR_PRIVACY]] found in workspace MiscellaneousFiles [LanguageServerHost][07:46:51.759][Start]textDocument/diagnostic [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:51.759][Start]textDocument/diagnostic [LanguageServerHost][07:46:51.759][Start]textDocument/diagnostic [LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics [LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics [LanguageServerHost]previousResults.Length=1 [LanguageServerHost]previousResults.Length=1 [LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics [LanguageServerHost]previousResults.Length=1 [LanguageServerHost]Processing 1 documents [LanguageServerHost]Processing 1 documents [LanguageServerHost]Processing 1 documents [LanguageServerHost]Diagnostics were unchanged for DocumentDiagnosticSource: /Users/[HIDDEN_FILENAME_FOR_PRIVACY]][HIDDEN_FILENAME_FOR_PRIVACY]] in Miscellaneous Files [LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics [LanguageServerHost]Diagnostics were unchanged for DocumentDiagnosticSource: [HIDDEN_FILENAME_FOR_PRIVACY]].cs in Miscellaneous Files [LanguageServerHost][07:46:51.760][End]textDocument/diagnostic [LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics [LanguageServerHost][07:46:51.760][End]textDocument/diagnostic [LanguageServerHost]Diagnostics were unchanged for DocumentDiagnosticSource: [HIDDEN_FILENAME_FOR_PRIVACY]].cs in Miscellaneous Files [LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics [LanguageServerHost][07:46:51.760][End]textDocument/diagnostic [LanguageServerHost][07:46:51.768][Start]workspace/diagnostic [LanguageServerHost]PublicWorkspacePullDiagnosticsHandler(category: ) started getting diagnostics [LanguageServerHost]previousResults.Length=0 [LanguageServerHost]Processing 0 documents [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:52.012][Start]textDocument/codeLens [LanguageServerHost][07:46:52.013][End]textDocument/codeLens [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:52.268][Start]codeLens/resolve [LanguageServerHost][07:46:52.270][End]codeLens/resolve [LanguageServerHost]/Users/[HIDDEN_FILENAME_FOR_PRIVACY]][HIDDEN_FILENAME_FOR_PRIVACY]] found in workspace MiscellaneousFiles [LanguageServerHost][07:46:53.487][Start]textDocument/diagnostic [LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics [LanguageServerHost]previousResults.Length=1 [LanguageServerHost]Processing 1 documents [LanguageServerHost]Diagnostics were unchanged for DocumentDiagnosticSource: /Users/[HIDDEN_FILENAME_FOR_PRIVACY]][HIDDEN_FILENAME_FOR_PRIVACY]] in Miscellaneous Files [LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics [LanguageServerHost][07:46:53.488][End]textDocument/diagnostic [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:53.531][Start]textDocument/codeLens [LanguageServerHost][07:46:53.532][End]textDocument/codeLens [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:53.688][Start]textDocument/diagnostic [LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics [LanguageServerHost]previousResults.Length=1 [LanguageServerHost]Processing 1 documents [LanguageServerHost]Diagnostics were unchanged for DocumentDiagnosticSource: [HIDDEN_FILENAME_FOR_PRIVACY]].cs in Miscellaneous Files [LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics [LanguageServerHost][07:46:53.689][End]textDocument/diagnostic [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:53.786][Start]codeLens/resolve [LanguageServerHost][07:46:53.789][End]codeLens/resolve [LanguageServerHost][HIDDEN_FILENAME_FOR_PRIVACY]].cs found in workspace MiscellaneousFiles [LanguageServerHost][07:46:53.892][Start]textDocument/diagnostic [LanguageServerHost]PublicDocumentPullDiagnosticsHandler(category: ) started getting diagnostics [LanguageServerHost]previousResults.Length=1 [LanguageServerHost]Processing 1 documents [LanguageServerHost]Diagnostics were unchanged for DocumentDiagnosticSource: [HIDDEN_FILENAME_FOR_PRIVACY]].cs in Miscellaneous Files [LanguageServerHost]Microsoft.CodeAnalysis.LanguageServer.Handler.Diagnostics.Public.PublicDocumentPullDiagnosticsHandler finished getting diagnostics [LanguageServerHost][07:46:53.893][End]textDocument/diagnostic
Expected Behavior
The server starts successfully when I open a .NET project
Environment Information