dotnet / vscode-csharp

Official C# support for Visual Studio Code
MIT License
2.83k stars 654 forks source link

Errors and warning highlights stop updating #4827

Open bwiklund opened 2 years ago

bwiklund commented 2 years ago

While editing code, errors and warning highlights stop updating. If you keep typing, the errors will start to appear under the wrong tokens.

It seems to happen more frequently (or only?) when the code is running (its a monogame project if that helps). Even after stopping the program, the code won't update.

Logs

OmniSharp log

Starting OmniSharp server at 10/15/2021, 12:04:46 PM Target: c:\code\mgt OmniSharp server started. Path: c:\Users\mynamehere\.vscode\extensions\ms-dotnettools.csharp-1.23.16\.omnisharp\1.37.16\OmniSharp.exe PID: 16428 [info]: OmniSharp.Stdio.Host Starting OmniSharp on Windows 6.2.9200.0 (x64) [info]: OmniSharp.Services.DotNetCliService Checking the 'DOTNET_ROOT' environment variable to find a .NET SDK [info]: OmniSharp.Services.DotNetCliService Using the 'dotnet' on the PATH. [info]: OmniSharp.Services.DotNetCliService DotNetPath set to dotnet [info]: OmniSharp.MSBuild.Discovery.MSBuildLocator Located 1 MSBuild instance(s) 1: StandAlone 17.0.0 - "c:\Users\mynamehere\.vscode\extensions\ms-dotnettools.csharp-1.23.16\.omnisharp\1.37.16\.msbuild\Current\Bin" [info]: OmniSharp.MSBuild.Discovery.MSBuildLocator MSBUILD_EXE_PATH environment variable set to 'c:\Users\mynamehere\.vscode\extensions\ms-dotnettools.csharp-1.23.16\.omnisharp\1.37.16\.msbuild\Current\Bin\MSBuild.exe' [info]: OmniSharp.MSBuild.Discovery.MSBuildLocator Registered MSBuild instance: StandAlone 17.0.0 - "c:\Users\mynamehere\.vscode\extensions\ms-dotnettools.csharp-1.23.16\.omnisharp\1.37.16\.msbuild\Current\Bin" CscToolExe = csc.exe CscToolPath = c:\Users\mynamehere\.vscode\extensions\ms-dotnettools.csharp-1.23.16\.omnisharp\1.37.16\.msbuild\Current\Bin\Roslyn MSBuildExtensionsPath = c:\Users\mynamehere\.vscode\extensions\ms-dotnettools.csharp-1.23.16\.omnisharp\1.37.16\.msbuild MSBuildToolsPath = c:\Users\mynamehere\.vscode\extensions\ms-dotnettools.csharp-1.23.16\.omnisharp\1.37.16\.msbuild\Current\Bin [info]: OmniSharp.WorkspaceInitializer Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0 [info]: OmniSharp.WorkspaceInitializer Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.Completion.CompletionOptionsProvider, Order: 0 [info]: OmniSharp.WorkspaceInitializer Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.RenameWorkspaceOptionsProvider, Order: 100 [info]: OmniSharp.WorkspaceInitializer Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.ImplementTypeWorkspaceOptionsProvider, Order: 110 [info]: OmniSharp.WorkspaceInitializer Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.BlockStructureWorkspaceOptionsProvider, Order: 140 [info]: OmniSharp.Cake.CakeProjectSystem Detecting Cake files in 'c:\code\mgt'. [info]: OmniSharp.Cake.CakeProjectSystem Could not find any Cake files [info]: OmniSharp.MSBuild.ProjectSystem No solution files found in 'c:\code\mgt' [info]: OmniSharp.MSBuild.ProjectManager Queue project update for 'c:\code\mgt\mgt.csproj' [info]: OmniSharp.Script.ScriptProjectSystem Detecting CSX files in 'c:\code\mgt'. [info]: OmniSharp.Script.ScriptProjectSystem Could not find any CSX files [info]: OmniSharp.WorkspaceInitializer Configuration finished. [info]: OmniSharp.Stdio.Host Omnisharp server running using Stdio at location 'c:\code\mgt' on host 10904. [info]: OmniSharp.MSBuild.ProjectManager Loading project: c:\code\mgt\mgt.csproj [info]: OmniSharp.MSBuild.ProjectManager Successfully loaded project file 'c:\code\mgt\mgt.csproj'. [info]: OmniSharp.MSBuild.ProjectManager Adding project 'c:\code\mgt\mgt.csproj' [info]: OmniSharp.MSBuild.ProjectManager Update project: mgt Received response for /findusages but could not find request. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\Crafting.cs, Line: 29, Column: 43. Received response for /quickinfo but could not find request. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\Crafting.cs, Line: 31, Column: 54. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\Crafting.cs, Line: 31, Column: 54. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\Crafting.cs, Line: 32, Column: 55. Received response for /v2/getcodeactions but could not find request. Received response for /v2/codestructure but could not find request. Received response for /v2/codestructure but could not find request. Received response for /completion but could not find request. Received response for /v2/getcodeactions but could not find request. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\Crafting.cs, Line: 31, Column: 53. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\Crafting.cs, Line: 32, Column: 56. Received response for /v2/codestructure but could not find request. Received response for /v2/codestructure but could not find request. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 48, Column: 56. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 48, Column: 56. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 48, Column: 56. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 39, Column: 26. Received response for /v2/getcodeactions but could not find request. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 17, Column: 40. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 17, Column: 42. Received response for /completion/resolve but could not find request. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 40, Column: 21. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 39, Column: 41. Received response for /v2/getcodeactions but could not find request. Received response for /completion but could not find request. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 37, Column: 25. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 48, Column: 31. Received response for /v2/getcodeactions but could not find request. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 47, Column: 63. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 47, Column: 63. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 47, Column: 39. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 49, Column: 60. Received response for /v2/getcodeactions but could not find request. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 51, Column: 29. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 33, Column: 31. Received response for /v2/getcodeactions but could not find request. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 35, Column: 35. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 53, Column: 21. Received response for /v2/getcodeactions but could not find request. Received response for /v2/getcodeactions but could not find request. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Util\Extensions.cs, Line: 7, Column: 34. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Util\Extensions.cs, Line: 8, Column: 34. Received response for /v2/gotodefinition but could not find request. Received response for /v2/codestructure but could not find request. Received response for /v2/codestructure but could not find request. Received response for /v2/codestructure but could not find request. Received response for /v2/codestructure but could not find request. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 17, Column: 42. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 17, Column: 46. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 17, Column: 46. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 17, Column: 48. Received response for /v2/gotodefinition but could not find request. Received response for /v2/gotodefinition but could not find request. [warn]: OmniSharp.Stdio.Host ************ Request ************ { "Type": "request", "Seq": 2962, "Command": "/signatureHelp", "Arguments": { "FileName": "c:\\code\\mgt\\Game\\State.cs", "Line": 33, "Column": 92 } } [fail]: OmniSharp.Stdio.Host ************ Response (32.8249ms) ************ { "Request_seq": 2962, "Command": "/signatureHelp", "Running": true, "Success": false, "Message": "\"System.NullReferenceException: Object reference not set to an instance of an object.\\r\\n at OmniSharp.Roslyn.CSharp.Services.Signatures.SignatureHelpService.d__3.MoveNext() in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Roslyn.CSharp\\\\Services\\\\Signatures\\\\SignatureHelpService.cs:line 122\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n at OmniSharp.Roslyn.CSharp.Services.Signatures.SignatureHelpService.d__2.MoveNext() in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Roslyn.CSharp\\\\Services\\\\Signatures\\\\SignatureHelpService.cs:line 33\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n at OmniSharp.Endpoint.EndpointHandler`2.d__19.MoveNext()\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n at OmniSharp.Endpoint.EndpointHandler`2.d__20.MoveNext() in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Host\\\\Endpoint\\\\EndpointHandler.cs:line 230\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n at OmniSharp.Endpoint.EndpointHandler`2.d__16.MoveNext() in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Host\\\\Endpoint\\\\EndpointHandler.cs:line 131\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n at OmniSharp.Stdio.Host.d__14.MoveNext() in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Stdio\\\\Host.cs:line 218\"", "Body": null, "Seq": 25818, "Type": "response" } [warn]: OmniSharp.Stdio.Host ************ Request ************ { "Type": "request", "Seq": 2967, "Command": "/signatureHelp", "Arguments": { "FileName": "c:\\code\\mgt\\Game\\State.cs", "Line": 33, "Column": 105 } } [fail]: OmniSharp.Stdio.Host ************ Response (1.1473ms) ************ { "Request_seq": 2967, "Command": "/signatureHelp", "Running": true, "Success": false, "Message": "\"System.NullReferenceException: Object reference not set to an instance of an object.\\r\\n at OmniSharp.Roslyn.CSharp.Services.Signatures.SignatureHelpService.d__3.MoveNext() in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Roslyn.CSharp\\\\Services\\\\Signatures\\\\SignatureHelpService.cs:line 122\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n at OmniSharp.Roslyn.CSharp.Services.Signatures.SignatureHelpService.d__2.MoveNext() in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Roslyn.CSharp\\\\Services\\\\Signatures\\\\SignatureHelpService.cs:line 33\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n at OmniSharp.Endpoint.EndpointHandler`2.d__19.MoveNext()\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n at OmniSharp.Endpoint.EndpointHandler`2.d__20.MoveNext() in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Host\\\\Endpoint\\\\EndpointHandler.cs:line 230\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n at OmniSharp.Endpoint.EndpointHandler`2.d__16.MoveNext() in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Host\\\\Endpoint\\\\EndpointHandler.cs:line 131\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n at OmniSharp.Stdio.Host.d__14.MoveNext() in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Stdio\\\\Host.cs:line 218\"", "Body": null, "Seq": 25829, "Type": "response" } [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 33, Column: 69. [warn]: OmniSharp.Stdio.Host ************ Request ************ { "Type": "request", "Seq": 3024, "Command": "/signatureHelp", "Arguments": { "FileName": "c:\\code\\mgt\\Game\\State.cs", "Line": 33, "Column": 71 } } [fail]: OmniSharp.Stdio.Host ************ Response (2.0079ms) ************ { "Request_seq": 3024, "Command": "/signatureHelp", "Running": true, "Success": false, "Message": "\"System.NullReferenceException: Object reference not set to an instance of an object.\\r\\n at OmniSharp.Roslyn.CSharp.Services.Signatures.SignatureHelpService.d__3.MoveNext() in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Roslyn.CSharp\\\\Services\\\\Signatures\\\\SignatureHelpService.cs:line 122\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n at OmniSharp.Roslyn.CSharp.Services.Signatures.SignatureHelpService.d__2.MoveNext() in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Roslyn.CSharp\\\\Services\\\\Signatures\\\\SignatureHelpService.cs:line 33\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n at OmniSharp.Endpoint.EndpointHandler`2.d__19.MoveNext()\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n at OmniSharp.Endpoint.EndpointHandler`2.d__20.MoveNext() in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Host\\\\Endpoint\\\\EndpointHandler.cs:line 230\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n at OmniSharp.Endpoint.EndpointHandler`2.d__16.MoveNext() in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Host\\\\Endpoint\\\\EndpointHandler.cs:line 131\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n at OmniSharp.Stdio.Host.d__14.MoveNext() in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Stdio\\\\Host.cs:line 218\"", "Body": null, "Seq": 26910, "Type": "response" } [warn]: OmniSharp.Stdio.Host ************ Request ************ { "Type": "request", "Seq": 3033, "Command": "/signatureHelp", "Arguments": { "FileName": "c:\\code\\mgt\\Game\\State.cs", "Line": 33, "Column": 77 } } [fail]: OmniSharp.Stdio.Host ************ Response (0.5203ms) ************ { "Request_seq": 3033, "Command": "/signatureHelp", "Running": true, "Success": false, "Message": "\"System.NullReferenceException: Object reference not set to an instance of an object.\\r\\n at OmniSharp.Roslyn.CSharp.Services.Signatures.SignatureHelpService.d__3.MoveNext() in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Roslyn.CSharp\\\\Services\\\\Signatures\\\\SignatureHelpService.cs:line 122\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n at OmniSharp.Roslyn.CSharp.Services.Signatures.SignatureHelpService.d__2.MoveNext() in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Roslyn.CSharp\\\\Services\\\\Signatures\\\\SignatureHelpService.cs:line 33\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n at OmniSharp.Endpoint.EndpointHandler`2.d__19.MoveNext()\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n at OmniSharp.Endpoint.EndpointHandler`2.d__20.MoveNext() in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Host\\\\Endpoint\\\\EndpointHandler.cs:line 230\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n at OmniSharp.Endpoint.EndpointHandler`2.d__16.MoveNext() in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Host\\\\Endpoint\\\\EndpointHandler.cs:line 131\\r\\n--- End of stack trace from previous location where exception was thrown ---\\r\\n at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\\r\\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\\r\\n at OmniSharp.Stdio.Host.d__14.MoveNext() in D:\\\\a\\\\1\\\\s\\\\src\\\\OmniSharp.Stdio\\\\Host.cs:line 218\"", "Body": null, "Seq": 26927, "Type": "response" } Received response for /v2/codestructure but could not find request. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 37, Column: 35. Received response for /v2/getcodeactions but could not find request. Received response for /v2/getcodeactions but could not find request. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Util\Extensions.cs, Line: 6, Column: 8. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Util\Extensions.cs, Line: 6, Column: 12. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No document found. File: $metadata$\Project\mgt\Assembly\System\Collections\Symbol\System\Collections\Generic\List`1.cs. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No document found. File: $metadata$\Project\mgt\Assembly\System\Collections\Symbol\System\Collections\Generic\List`1.cs. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No document found. File: $metadata$\Project\mgt\Assembly\System\Collections\Symbol\System\Collections\Generic\List`1.cs. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No document found. File: $metadata$\Project\mgt\Assembly\System\Collections\Symbol\System\Collections\Generic\List`1.cs. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Util\Extensions.cs, Line: 8, Column: 16. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Util\Extensions.cs, Line: 8, Column: 23. Received response for /v2/codestructure but could not find request. Received response for /v2/codestructure but could not find request. Received response for /v2/codestructure but could not find request. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 58, Column: 71. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 58, Column: 67. Received response for /v2/codestructure but could not find request. Received response for /findusages but could not find request. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\DB.cs, Line: 8, Column: 77. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\DB.cs, Line: 24, Column: 20. Received response for /v2/codestructure but could not find request. Received response for /v2/codestructure but could not find request. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\DB.cs, Line: 4, Column: 77. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\Thing.cs, Line: 6, Column: 52. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\Thing.cs, Line: 7, Column: 38. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\Thing.cs, Line: 7, Column: 50. Received response for /v2/codestructure but could not find request. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\DB.cs, Line: 6, Column: 25. Received response for /quickinfo but could not find request. Received response for /quickinfo but could not find request. Received response for /v2/codestructure but could not find request. Received response for /v2/codestructure but could not find request. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 47, Column: 17. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 47, Column: 56. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 48, Column: 60. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 47, Column: 56. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 48, Column: 62. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 35, Column: 24. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 35, Column: 25. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 47, Column: 56. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 45, Column: 55. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\State.cs, Line: 41, Column: 29. Received response for /v2/codestructure but could not find request. Received response for /v2/codestructure but could not find request. Received response for /quickinfo but could not find request. [warn]: OmniSharp.Roslyn.CSharp.Services.Navigation.FindUsagesService No symbol found. File: c:\code\mgt\Game\DB.cs, Line: 7, Column: 23.

C# log

Post the output from Output-->C# here

Environment information

VSCode version: 1.60.2 C# Extension: 1.23.16

Dotnet Information .NET Core SDK (reflecting any global.json): Version: 3.1.414 Commit: 88a3b0c5ca Runtime Environment: OS Name: Windows OS Version: 10.0.19042 OS Platform: Windows RID: win10-x64 Base Path: C:\Program Files\dotnet\sdk\3.1.414\ Host (useful for support): Version: 3.1.20 Commit: 2833dab8c3 .NET Core SDKs installed: 2.2.104 [C:\Program Files\dotnet\sdk] 3.1.412 [C:\Program Files\dotnet\sdk] 3.1.414 [C:\Program Files\dotnet\sdk] .NET Core runtimes installed: Microsoft.AspNetCore.All 2.1.30 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.All 2.2.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.App 2.1.30 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 2.2.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 3.1.20 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 2.1.30 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 2.2.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 3.1.20 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 3.1.20 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] To install additional .NET Core runtimes or SDKs: https://aka.ms/dotnet-download
Visual Studio Code Extensions |Extension|Author|Version| |---|---|---| |autoimport|steoates|1.5.4| |better-toml|bungcip|0.3.2| |clang-format|xaver|1.9.0| |color-info|bierner|0.7.0| |cpptools|ms-vscode|1.7.0| |csharp|ms-dotnettools|1.23.16| |file-icons|file-icons|1.0.29| |hexeditor|ms-vscode|1.8.2| |java|redhat|0.82.0| |jupyter|ms-toolsai|2021.8.2041215044| |jupyter-keymap|ms-toolsai|1.0.0| |nginx-formatter|raynigon|0.0.13| |pegjs-language|SirTobi|1.0.4| |prettier-vscode|esbenp|9.0.0| |python|ms-python|2021.10.1336267007| |rust|rust-lang|0.7.8| |shader|slevesque|1.1.5| |soft-era-theme|soft-aesthetic|1.0.3| |unity-debug|Unity|3.0.2| |vsc-community-material-theme|Equinusocio|1.4.2| |vsc-material-theme|Equinusocio|33.2.0| |vsc-material-theme-icons|equinusocio|1.2.2| |vscode-css-formatter|aeschli|1.0.1| |vscode-java-debug|vscjava|0.36.0| |vscode-java-dependency|vscjava|0.18.8| |vscode-java-pack|vscjava|0.18.5| |vscode-java-test|vscjava|0.32.0| |vscode-material-theme|fredrikaverpil|0.0.5| |vscode-maven|vscjava|0.34.0| |vscode-nginx|shanoor|0.6.0| |vscode-nginx|william-voyek|0.7.2| |vscode-nginx-conf|ahmadalli|0.1.3| |vscode-nginx-conf-hint|hangxingliu|0.1.0| |vscode-pylance|ms-python|2021.10.1| |vscode-scss-formatter|sibiraj-s|2.2.4| |vscodeintellicode|VisualStudioExptTeam|1.2.14|;
nohwnd commented 2 years ago

@bwiklund is the repository public? Can we share a repro, please?

bwiklund commented 2 years ago

I can't share the repo but it's a project created from the monogame CLI without anything else remarkable about it,

https://docs.monogame.net/articles/getting_started/2_creating_a_new_project_netcore.html

On Tue, Oct 19, 2021 at 9:16 AM Jakub Jareš @.***> wrote:

@bwiklund https://github.com/bwiklund is the repository public? Can we share a repro, please?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/OmniSharp/omnisharp-vscode/issues/4827#issuecomment-946883597, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA3LV4ICBKRWBBAKURACHDDUHWKVBANCNFSM5GCY5B6A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.