Closed ReginaldBull closed 1 week ago
can you share the repro project? it was tested with much bigger projects, so there must be something peculiar about your config - thanks
I can share but I don't want to post in public the link to the repo.
@JoeRobich you might be interested in this - this SO seems to be coming from inside Roslyn
@ReginaldBull has shared a private repro with us, if you want, he can invite you too
I thought this was related to analyzers, but it throws the same with analyzers disabled. it's also non-deterministic - sometimes it happens, sometimes it doesn't
@reginaldbull Thanks for reporting this! I opened an issue in the roslyn repo for this. Having the repro would help a lot in getting this resolved.
@JoeRobich @filipw this bug has been fixed in https://github.com/dotnet/roslyn/issues/42361.
very nice, thanks we'll pull in the nightly build soon 😃
Closing as this issue is resolved.
Issue Description
Working on a solution with 30 projects. Starting VisualStudioCode sometimes works to have navigation inside the projects but most of the time Omnisharp can not analyze the projects because of StackOverflowException.
Steps to Reproduce
Start VSCode, Omnisharp causing exception
Expected Behavior
Start VSCode, Omnisharp works - causing no exception - navigation is possible.
Actual Behavior
Start VSCode, Omnisharp is not working
Logs
OmniSharp log
C# log
Environment information
VSCode version: 1.43.0 C# Extension: 1.21.14
Dotnet Information
.NET Core SDK (gem�� "global.json"): Version: 3.1.102 Commit: 573d158fea Laufzeitumgebung: OS Name: Windows OS Version: 10.0.17763 OS Platform: Windows RID: win10-x64 Base Path: C:\Program Files\dotnet\sdk\3.1.102\ Host (useful for support): Version: 3.1.2 Commit: 916b5cba26 .NET Core SDKs installed: 1.0.0-preview2-003133 [C:\Program Files\dotnet\sdk] 3.1.101 [C:\Program Files\dotnet\sdk] 3.1.102 [C:\Program Files\dotnet\sdk] .NET Core runtimes installed: Microsoft.AspNetCore.All 2.1.15 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.App 2.1.15 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 3.1.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 3.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 1.0.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 2.1.15 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 3.1.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 3.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 3.1.1 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] Microsoft.WindowsDesktop.App 3.1.2 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App] To install additional .NET Core runtimes or SDKs: https://aka.ms/dotnet-downloadVisual Studio Code Extensions
|Extension|Author|Version| |---|---|---| |auto-using|Fudge|0.7.15| |beautify|HookyQR|1.5.0| |csharp|ms-dotnettools|1.21.14| |csharpextensions|jchannon|1.3.1| |csharpextensions|kreativ-software|1.3.2| |docomment|k--kato|0.1.8| |git-merger|shaharkazaz|0.4.1| |gitblame|waderyan|3.2.0| |gitlens|eamodio|10.2.1| |npm-intellisense|christian-kohler|1.3.0| |python|ms-python|2020.2.64397| |remote-wsl|ms-vscode-remote|0.42.3| |vscode-docker|ms-azuretools|1.0.0| |vscode-html-css|ecmel|0.2.3| |vscode-html-format|mohd-akram|0.0.4| |vscode-nuget-package-manager|jmrog|1.1.6| |vscode-wakatime|WakaTime|4.0.0| |vscodeintellicode|VisualStudioExptTeam|1.2.6|;Please paste the output from your clipboard