Open DanJ210 opened 5 years ago
Still getting this issue quite often.
@DanJ210 This sounds like a duplicate of https://github.com/OmniSharp/omnisharp-vscode/issues/1197 -- can you try the workaround discussed in that issue?
It sounds like the same issue. I suppose I can try the workaround.
Issue #1197 suggests this has now been fixed but I am still seeing the issues in v1.21.5 of the C# Extension
Posted this in VS Code first and they said that this was a C# extension issue and to post here.
This happens every now and then but often enough. I'll be shown errors and clicking on some will state that the file does not exist. There is a duplicate set of the same errors from the same file below. Both show a slightly different path. Have no idea what's happening here.
Is this workaround what you have to do with every project to ensure you don't get this issue?
In the .csproj addtrue inside
Steps to Reproduce:
Does this issue occur when all extensions are disabled?: Yes
OmniSharp log
C# log
Environment information
VSCode version: 1.33.1 C# Extension: 1.19.0
Dotnet Information
.NET Core SDK (reflecting any global.json): Version: 3.0.100-preview-010184 Commit: c57bde4593 Runtime Environment: OS Name: Windows OS Version: 10.0.17134 OS Platform: Windows RID: win10-x64 Base Path: C:\Program Files\dotnet\sdk\3.0.100-preview-010184\ Host (useful for support): Version: 3.0.0-preview-27324-5 Commit: 63a01b08e5 .NET Core SDKs installed: 2.1.202 [C:\Program Files\dotnet\sdk] 2.1.504 [C:\Program Files\dotnet\sdk] 2.1.505 [C:\Program Files\dotnet\sdk] 2.1.600-preview-009426 [C:\Program Files\dotnet\sdk] 2.1.600-preview-009472 [C:\Program Files\dotnet\sdk] 2.1.600 [C:\Program Files\dotnet\sdk] 2.1.602 [C:\Program Files\dotnet\sdk] 2.2.104 [C:\Program Files\dotnet\sdk] 2.2.105 [C:\Program Files\dotnet\sdk] 2.2.200 [C:\Program Files\dotnet\sdk] 2.2.202 [C:\Program Files\dotnet\sdk] 3.0.100-preview-010184 [C:\Program Files\dotnet\sdk] .NET Core runtimes installed: Microsoft.AspNetCore.All 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.All 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.All 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.All 2.1.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.All 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.All 2.2.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.All 2.2.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 2.1.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 2.1.9 [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 2.2.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 3.0.0-preview-19075-0444 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 2.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 2.1.8 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 2.1.9 [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 2.2.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 3.0.0-preview-27324-5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 3.0.0-preview-27325-3 [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-close-tag|formulahendry|0.5.6| |auto-rename-tag|formulahendry|0.0.15| |azure-account|ms-vscode|0.8.2| |beautify|HookyQR|1.4.11| |csharp|ms-vscode|1.19.0| |debugger-for-chrome|msjsdiag|4.11.3| |debugger-for-edge|msjsdiag|1.0.8| |dotnet-core-essentials|KishoreIthadi|0.0.6| |dotnet-test-explorer|formulahendry|0.6.6| |gitlens|eamodio|9.6.3| |JavaScriptSnippets|xabikos|1.7.2| |minify|HookyQR|0.4.3| |mssql|ms-mssql|1.6.0| |npm-intellisense|christian-kohler|1.3.0| |nuget-reverse-package-search|jesschadwick|0.1.68| |path-intellisense|christian-kohler|1.4.2| |php-debug|felixfbecker|1.13.0| |php-intellisense|felixfbecker|2.3.10| |team|ms-vsts|1.149.2| |theme-tinaciousdesign|tinaciousdesign|0.2.6| |tslint-vue|prograhammer|1.5.6| |vetur|octref|0.19.3| |vscode-azureappservice|ms-azuretools|0.14.0| |vscode-azurefunctions|ms-azuretools|0.17.0| |vscode-docker|PeterJausovec|0.6.1| |vscode-gitignore-generator|piotrpalarz|1.0.1| |vscode-great-icons|emmanuelbeziat|2.1.47| |vscode-icons|vscode-icons-team|8.6.0| |vscode-npm-script|eg2|0.3.5| |vscode-nuget-package-manager|jmrog|1.1.6| |vscodeintellicode|VisualStudioExptTeam|1.1.5| |vsliveshare|ms-vsliveshare|1.0.125| |vsliveshare-audio|ms-vsliveshare|0.1.50| |vue-peek|dariofuzinato|1.0.2| |vuejs-extension-pack|mubaidr|1.1.3| |wilderminds-aspnetcore-snippets|wilderminds|0.2.1| |xml|DotJoshJohnson|2.4.0| |yo|samverschueren|0.9.3|;