2026-05-09 20:16:07.706 [info] Locating .NET runtime version 10.0.5
2026-05-09 20:16:07.934 [info] Dotnet path: C:\Program Files\dotnet\dotnet.exe
2026-05-09 20:16:07.934 [info] Activating C# + C# Dev Kit...
2026-05-09 20:16:08.338 [info] info: Program[0]
2026-05-09 20:16:08.338 [info] Server started with process ID 24396
2026-05-09 20:16:10.119 [info] [Program] Language server initialized
2026-05-09 20:16:10.179 [info] [Program] Monitoring client process 18772 for exit
2026-05-09 20:16:12.360 [error] [textDocument/didClose] [LSP] System.InvalidOperationException: didClose received for file:///p:/SRPG/scripts/Events/StageUISettingsEvents.cs which is not open. - file LspWorkspaceManager.cs line 149
at Microsoft.CodeAnalysis.Contract.Fail(String message, Int32 lineNumber, String filePath) in /_/src/Dependencies/Contracts/Contract.cs:line 161
at Microsoft.CodeAnalysis.LanguageServer.LspWorkspaceManager.StopTrackingAsync(DocumentUri uri, CancellationToken cancellationToken)
at Microsoft.CodeAnalysis.LanguageServer.Handler.DocumentChanges.DidCloseHandler.HandleNotificationAsync(DidCloseTextDocumentParams request, RequestContext context, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/DocumentChanges/DidCloseHandler.cs:line 32
at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.StartRequestAsync[TRequest,TResponse](TRequest request, TRequestContext context, IMethodHandler handler, String language, CancellationToken cancellationToken) in /_/src/LanguageServer/Microsoft.CommonLanguageServerProtocol.Framework/QueueItem.cs:line 204
2026-05-09 20:16:12.363 [error] [LSP] System.InvalidOperationException: didClose received for file:///p:/SRPG/scripts/Events/StageUISettingsEvents.cs which is not open. - file LspWorkspaceManager.cs line 149
at Microsoft.CodeAnalysis.Contract.Fail(String message, Int32 lineNumber, String filePath) in /_/src/Dependencies/Contracts/Contract.cs:line 161
at Microsoft.CodeAnalysis.LanguageServer.LspWorkspaceManager.StopTrackingAsync(DocumentUri uri, CancellationToken cancellationToken)
at Microsoft.CodeAnalysis.LanguageServer.Handler.DocumentChanges.DidCloseHandler.HandleNotificationAsync(DidCloseTextDocumentParams request, RequestContext context, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/DocumentChanges/DidCloseHandler.cs:line 32
at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.StartRequestAsync[TRequest,TResponse](TRequest request, TRequestContext context, IMethodHandler handler, String language, CancellationToken cancellationToken) in /_/src/LanguageServer/Microsoft.CommonLanguageServerProtocol.Framework/QueueItem.cs:line 204
at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.StartRequestAsync[TRequest,TResponse](TRequest request, TRequestContext context, IMethodHandler handler, String language, CancellationToken cancellationToken) in /_/src/LanguageServer/Microsoft.CommonLanguageServerProtocol.Framework/QueueItem.cs:line 258
at Microsoft.CodeAnalysis.LanguageServer.RoslynRequestExecutionQueue.WrapStartRequestTaskAsync(Task requestTask, Boolean rethrowExceptions) in /_/src/LanguageServer/Protocol/RoslynRequestExecutionQueue.cs:line 32
at Microsoft.CommonLanguageServerProtocol.Framework.RequestExecutionQueue`1.ProcessQueueCoreAsync[TRequest,TResponse](IQueueItem`1 work, IMethodHandler handler, RequestHandlerMetadata metadata, ConcurrentDictionary`2 concurrentlyExecutingTasks, CancellationTokenSource currentWorkCts, CancellationToken cancellationToken) in /_/src/LanguageServer/Microsoft.CommonLanguageServerProtocol.Framework/RequestExecutionQueue.cs:line 372
at Microsoft.CommonLanguageServerProtocol.Framework.RequestExecutionQueue`1.InvokeProcessCoreAsync(IQueueItem`1 work, RequestHandlerMetadata metadata, IMethodHandler handler, MethodInfo methodInfo, ConcurrentDictionary`2 concurrentlyExecutingTasks, CancellationTokenSource currentWorkCts, CancellationToken cancellationToken) in /_/src/LanguageServer/Microsoft.CommonLanguageServerProtocol.Framework/RequestExecutionQueue.cs:line 325
at Microsoft.CommonLanguageServerProtocol.Framework.RequestExecutionQueue`1.ProcessQueueAsync() in /_/src/LanguageServer/Microsoft.CommonLanguageServerProtocol.Framework/RequestExecutionQueue.cs:line 277
2026-05-09 20:16:12.365 [info] [LSP] Error occurred processing queue: didClose received for file:///p:/SRPG/scripts/Events/StageUISettingsEvents.cs which is not open. - file LspWorkspaceManager.cs line 149.
2026-05-09 20:16:12.427 [error] Client Microsoft.CodeAnalysis.LanguageServer: connection to server is erroring.
This socket has been ended by the other party
2026-05-09 20:16:12.427 [error] Request textDocument/diagnostic failed.
Message: This socket has been ended by the other party
Code: -32099
2026-05-09 20:16:12.427 [error] Document pull failed for text document file:///p%3A/SRPG/scripts/GameStageController.cs
Message: This socket has been ended by the other party
Code: -32099
2026-05-09 20:16:12.532 [info] Connection to server got closed. Server will restart.
2026-05-09 20:16:12.532 [error] Error making workspace/buildOnlyDiagnosticIds request Pending response rejected since connection got disposed
2026-05-09 20:16:12.537 [error] Error making workspace/buildOnlyDiagnosticIds request Pending response rejected since connection got disposed
2026-05-09 20:16:12.537 [error] Error making workspace/buildOnlyDiagnosticIds request Pending response rejected since connection got disposed
2026-05-09 20:16:12.537 [error] Error making workspace/buildOnlyDiagnosticIds request Pending response rejected since connection got disposed
2026-05-09 20:16:12.537 [error] Error making workspace/buildOnlyDiagnosticIds request Pending response rejected since connection got disposed
2026-05-09 20:16:12.537 [error] Error making workspace/buildOnlyDiagnosticIds request Pending response rejected since connection got disposed
2026-05-09 20:16:12.538 [error] Error making workspace/buildOnlyDiagnosticIds request Pending response rejected since connection got disposed
2026-05-09 20:16:12.603 [error] Error making workspace/buildOnlyDiagnosticIds request Pending response rejected since connection got disposed
2026-05-09 20:16:12.638 [error] Unhandled exception. System.InvalidOperationException: didClose received for file:///p:/SRPG/scripts/Events/StageUISettingsEvents.cs which is not open. - file LspWorkspaceManager.cs line 149
2026-05-09 20:16:12.638 [error] at Microsoft.CodeAnalysis.Contract.Fail(String message, Int32 lineNumber, String filePath) in /_/src/Dependencies/Contracts/Contract.cs:line 161
2026-05-09 20:16:12.638 [error] at Microsoft.CodeAnalysis.LanguageServer.LspWorkspaceManager.StopTrackingAsync(DocumentUri uri, CancellationToken cancellationToken)
2026-05-09 20:16:12.638 [error] at Microsoft.CodeAnalysis.LanguageServer.Handler.DocumentChanges.DidCloseHandler.HandleNotificationAsync(DidCloseTextDocumentParams request, RequestContext context, CancellationToken cancellationToken) in /_/src/LanguageServer/Protocol/Handler/DocumentChanges/DidCloseHandler.cs:line 32
2026-05-09 20:16:12.638 [error] at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.StartRequestAsync[TRequest,TResponse](TRequest request, TRequestContext context, IMethodHandler handler, String language, CancellationToken cancellationToken) in /_/src/LanguageServer/Microsoft.CommonLanguageServerProtocol.Framework/QueueItem.cs:line 204
2026-05-09 20:16:12.638 [error] at Microsoft.CommonLanguageServerProtocol.Framework.QueueItem`1.StartRequestAsync[TRequest,TResponse](TRequest request, TRequestContext context, IMethodHandler handler, String language, CancellationToken cancellationToken) in /_/src/LanguageServer/Microsoft.CommonLanguageServerProtocol.Framework/QueueItem.cs:line 258
2026-05-09 20:16:12.638 [error] at Microsoft.CodeAnalysis.LanguageServer.RoslynRequestExecutionQueue.WrapStartRequestTaskAsync(Task requestTask, Boolean rethrowExceptions) in /_/src/LanguageServer/Protocol/RoslynRequestExecutionQueue.cs:line 32
2026-05-09 20:16:12.638 [error] at Microsoft.CommonLanguageServerProtocol.Framework.RequestExecutionQueue`1.ProcessQueueCoreAsync[TRequest,TResponse](IQueueItem`1 work, IMethodHandler handler, RequestHandlerMetadata metadata, ConcurrentDictionary`2 concurrentlyExecutingTasks, CancellationTokenSource currentWorkCts, CancellationToken cancellationToken) in /_/src/LanguageServer/Microsoft.CommonLanguageServerProtocol.Framework/RequestExecutionQueue.cs:line 372
2026-05-09 20:16:12.639 [error] at Microsoft.CommonLanguageServerProtocol.Framework.RequestExecutionQueue`1.InvokeProcessCoreAsync(IQueueItem`1 work, RequestHandlerMetadata metadata, IMethodHandler handler, MethodInfo methodInfo, ConcurrentDictionary`2 concurrentlyExecutingTasks, CancellationTokenSource currentWorkCts, CancellationToken cancellationToken) in /_/src/LanguageServer/Microsoft.CommonLanguageServerProtocol.Framework/RequestExecutionQueue.cs:line 325
2026-05-09 20:16:12.639 [error] at Microsoft.CommonLanguageServerProtocol.Framework.RequestExecutionQueue`1.ProcessQueueAsync() in /_/src/LanguageServer/Microsoft.CommonLanguageServerProtocol.Framework/RequestExecutionQueue.cs:line 277
2026-05-09 20:16:12.639 [error] at Microsoft.CodeAnalysis.LanguageServer.LanguageServer.LanguageServerHost.WaitForExitAsync() in /_/src/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/LanguageServer/LanguageServerHost.cs:line 78
2026-05-09 20:16:12.639 [error] at Program.<<Main>$>g__RunAsync|0_0(ServerConfiguration serverConfiguration, CancellationToken cancellationToken) in /_/src/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/Program.cs:line 173
2026-05-09 20:16:12.639 [error] at Program.<<Main>$>g__RunAsync|0_0(ServerConfiguration serverConfiguration, CancellationToken cancellationToken) in /_/src/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/Program.cs:line 181
2026-05-09 20:16:12.639 [error] at System.CommandLine.Command.<>c__DisplayClass32_0.<<SetAction>b__0>d.MoveNext()
2026-05-09 20:16:12.639 [error] --- End of stack trace from previous location ---
2026-05-09 20:16:12.639 [error] at System.CommandLine.Invocation.InvocationPipeline.InvokeAsync(ParseResult parseResult, CancellationToken cancellationToken)
2026-05-09 20:16:12.639 [error] at Program.<Main>$(String[] args) in /_/src/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/Program.cs:line 33
2026-05-09 20:16:12.639 [error] at Program.<Main>(String[] args)
2026-05-09 20:16:12.862 [info] info: Program[0]
2026-05-09 20:16:12.862 [info] Server started with process ID 25196
2026-05-09 20:16:14.231 [info] [Program] Language server initialized
2026-05-09 20:16:14.231 [info] [Program] Monitoring client process 18772 for exit
2026-05-09 20:16:16.681 [info] [textDocument/documentSymbol] [Microsoft.CodeAnalysis.MSBuild.BuildHostProcessManager] .NET BuildHost started from c:\Users\nickygames\.vscode\extensions\ms-dotnettools.csharp-2.130.5-win32-x64\.roslyn\Microsoft.CodeAnalysis.LanguageServer.exe reloading to start from C:\Program Files\dotnet\dotnet.exe to match necessary SDK location.
2026-05-09 20:16:17.077 [info] [serviceBroker/connect] [WorkspaceProjectFactoryService] Project P:\SRPG\StrategyRPG.csproj loaded by C# Dev Kit
2026-05-09 20:16:18.016 [warning] [textDocument/documentSymbol] [LanguageServerProjectLoader] Project C:\Users\nickygames\AppData\Local\Temp\roslyn-canonical-misc\10c41ca2-8204-4e56-8824-9502249f9d47\Canonical.csproj has unresolved dependencies
2026-05-09 20:16:18.295 [info] [textDocument/documentSymbol] [LanguageServerProjectLoader] Successfully completed load of C:\Users\nickygames\AppData\Local\Temp\roslyn-canonical-misc\10c41ca2-8204-4e56-8824-9502249f9d47\Canonical.cs
2026-05-09 20:16:18.314 [info] [textDocument/documentSymbol] [LanguageServerProjectLoader] Restoring Canonical.cs: Running dotnet restore on C:\Users\nickygames\AppData\Local\Temp\roslyn-canonical-misc\10c41ca2-8204-4e56-8824-9502249f9d47\Canonical.cs
2026-05-09 20:16:18.314 [info] [textDocument/documentSymbol] [Microsoft.CodeAnalysis.LanguageServer.DotnetCliHelper] Using dotnet executable configured on the PATH
2026-05-09 20:16:19.220 [info] [textDocument/documentSymbol] [LanguageServerProjectLoader] Restoring Canonical.cs: Determining projects to restore...
2026-05-09 20:16:19.721 [info] [textDocument/documentSymbol] [LanguageServerProjectLoader] Restoring Canonical.cs: C:\Users\nickygames\AppData\Local\Temp\roslyn-canonical-misc\10c41ca2-8204-4e56-8824-9502249f9d47\Canonical.csproj : error NU1100: Unable to resolve 'runtime.win-x64.Microsoft.DotNet.ILCompiler (>= 10.0.7)' for 'net10.0/win-x64'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
2026-05-09 20:16:19.721 [info] [textDocument/documentSymbol] [LanguageServerProjectLoader] Restoring Canonical.cs: C:\Users\nickygames\AppData\Local\Temp\roslyn-canonical-misc\10c41ca2-8204-4e56-8824-9502249f9d47\Canonical.csproj : error NU1100: Unable to resolve 'runtime.win-x64.Microsoft.DotNet.ILCompiler (= 10.0.7)' for 'net10.0'. PackageSourceMapping is enabled, the following source(s) were not considered: C:\Program Files\dotnet\library-packs, Microsoft Visual Studio Offline Packages, nuget.org.
Type: Bug
Issue Description
Steps to Reproduce
I just open my VS Code and it auto load my project. I cannot provide project for testing.
Logs point directly to where it crash, If stack trace alone is not enough to identify and fix the issue, please drop this report.
Expected Behavior
No C# LSP error
Actual Behavior
C# LSP broken. Restart extensions won't fix it. Have to close all source file tabs and reopen project.
Extension version: 2.130.5
VS Code version: Code 1.119.0 (8b640eef5a6c6089c029249d48efa5c99adf7d51, 2026-05-05T11:23:50-07:00)
OS version: Windows_NT x64 10.0.26200
Modes:
Logs
C# log
Details
C# LSP Trace Logs log
Details
Environment Information
VSCode version: 1.119.0
C# Extension: 2.130.5
Using OmniSharp: false
Dotnet Information
.NET SDK: Version: 10.0.203 Commit: c23858a6d8 Workload version: 10.0.200-manifests.f8ca1cb9 MSBuild version: 18.3.3+c23858a6dRuntime Environment:
OS Name: Windows
OS Version: 10.0.26200
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\10.0.203\
.NET workloads installed:
There are no installed workloads to display.
Configured to use workload sets when installing new manifests.
No workload sets are installed. Run "dotnet workload restore" to install a workload set.
Host:
Version: 10.0.7
Architecture: x64
Commit: b16286c228
.NET SDKs installed:
3.1.426 [C:\Program Files\dotnet\sdk]
5.0.300 [C:\Program Files\dotnet\sdk]
6.0.202 [C:\Program Files\dotnet\sdk]
6.0.301 [C:\Program Files\dotnet\sdk]
6.0.321 [C:\Program Files\dotnet\sdk]
10.0.203 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.14 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.26 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.26 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.15 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 10.0.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.14 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.26 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.36 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.26 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.15 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.32 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.6 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.14 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.4 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.5 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.9 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.26 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.26 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 9.0.15 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 10.0.7 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]
Environment variables:
DOTNET_CLI_TELEMETRY_OPTOUT [true]
DOTNET_CLI_UI_LANGUAGE [en-US]
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
Visual Studio Code Extensions
C# Settings
System Info
GPU0: VENDOR= 0x10de, DEVICE=0x2c05 [NVIDIA GeForce RTX 5070 Ti], DRIVER_VENDOR=NVIDIA, DRIVER_VERSION=32.0.15.9636 ACTIVE
GPU1: VENDOR= 0x10de, DEVICE=0x2c05 [NVIDIA GeForce RTX 5070 Ti], DRIVER_VERSION=32.0.15.9636
GPU2: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8246
Machine model name:
Machine model version:
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off