Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go to definition for .NET SDK symbols is unreliable/inconsistent #7874

Open
myieye opened this issue Dec 12, 2024 · 3 comments
Open

Go to definition for .NET SDK symbols is unreliable/inconsistent #7874

myieye opened this issue Dec 12, 2024 · 3 comments

Comments

@myieye
Copy link

myieye commented Dec 12, 2024

Type: Bug

Issue Description

The first time I select "Got to definition" for IList it takes me to the interface as I would expect. The second time and every time afterwards, it opens UInt64.cs.

If I delete AppData/Local/Temp/SymbolCache the next time will take me to IList again and the flow repeats itself.

go-to-definition-bug.mp4

Expected Behavior

I should always be taken to IList

Actual Behavior

I'm taken to unrelated code

Logs

exthost.zip

C# log

Post the output from Output-->C# here 2024-12-12 14:29:11.760 [info] Using dotnet configured on PATH 2024-12-12 14:29:11.762 [info] Dotnet path: C:\Program Files\dotnet\dotnet.exe 2024-12-12 14:29:11.762 [info] Activating C# + C# Dev Kit... 2024-12-12 14:29:14.860 [info] [stdout] {"pipeName":"\\\\.\\pipe\\d91877fd"}

2024-12-12 14:29:14.860 [info] received named pipe information from server
2024-12-12 14:29:14.861 [info] client has connected to server
2024-12-12 14:29:14.977 [info] [Info - 2:29:14 PM] [Program] Language server initialized
2024-12-12 14:29:25.942 [info] [Info - 2:29:25 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\MiniLcm.Tests\MiniLcm.Tests.csproj loaded by C# Dev Kit
2024-12-12 14:29:26.389 [info] [Info - 2:29:26 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\FwLiteProjectSync.Tests\FwLiteProjectSync.Tests.csproj loaded by C# Dev Kit
2024-12-12 14:29:26.399 [info] [Info - 2:29:26 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwHeadless\FwHeadless.csproj loaded by C# Dev Kit
2024-12-12 14:29:26.403 [info] [Info - 2:29:26 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\FwLiteShared\FwLiteShared.csproj loaded by C# Dev Kit
2024-12-12 14:29:26.406 [info] [Info - 2:29:26 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\LcmCrdt.Tests\LcmCrdt.Tests.csproj loaded by C# Dev Kit
2024-12-12 14:29:26.409 [info] [Info - 2:29:26 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\LexData\LexData.csproj loaded by C# Dev Kit
2024-12-12 14:29:26.411 [info] [Info - 2:29:26 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FixFwData\FixFwData.csproj loaded by C# Dev Kit
2024-12-12 14:29:26.412 [info] [Info - 2:29:26 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\LcmCrdt\LcmCrdt.csproj loaded by C# Dev Kit
2024-12-12 14:29:26.414 [info] [Info - 2:29:26 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\FwDataMiniLcmBridge.Tests\FwDataMiniLcmBridge.Tests.csproj loaded by C# Dev Kit
2024-12-12 14:29:26.419 [info] [Info - 2:29:26 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\Testing\Testing.csproj loaded by C# Dev Kit
2024-12-12 14:29:26.421 [info] [Info - 2:29:26 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\harmony\src\SIL.Harmony\SIL.Harmony.csproj loaded by C# Dev Kit
2024-12-12 14:29:26.493 [info] [Info - 2:29:26 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\LfNext\LcmDebugger\LcmDebugger.csproj loaded by C# Dev Kit
2024-12-12 14:29:26.499 [info] [Info - 2:29:26 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\harmony\src\SIL.Harmony.Core\SIL.Harmony.Core.csproj loaded by C# Dev Kit
2024-12-12 14:29:26.521 [info] [Info - 2:29:26 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\FwDataMiniLcmBridge\FwDataMiniLcmBridge.csproj loaded by C# Dev Kit
2024-12-12 14:29:26.763 [info] [Info - 2:29:26 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\LfClassicData\LfClassicData.csproj loaded by C# Dev Kit
2024-12-12 14:29:26.765 [info] [Info - 2:29:26 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\FwLiteProjectSync\FwLiteProjectSync.csproj loaded by C# Dev Kit
2024-12-12 14:29:26.908 [info] [Info - 2:29:26 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\LexBoxApi\LexBoxApi.csproj loaded by C# Dev Kit
2024-12-12 14:29:27.044 [info] [Info - 2:29:27 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\SyncReverseProxy\SyncReverseProxy.csproj loaded by C# Dev Kit
2024-12-12 14:29:27.193 [info] [Info - 2:29:27 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\MiniLcm\MiniLcm.csproj loaded by C# Dev Kit
2024-12-12 14:29:27.412 [info] [Info - 2:29:27 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\LocalWebApp\LocalWebApp.csproj loaded by C# Dev Kit
2024-12-12 14:29:27.448 [info] [Info - 2:29:27 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\FwLiteDesktop\FwLiteDesktop.csproj loaded by C# Dev Kit
2024-12-12 14:29:27.454 [info] [Info - 2:29:27 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\LexCore\LexCore.csproj loaded by C# Dev Kit
2024-12-12 14:31:06.493 [info] [Warn - 2:31:06 PM] [LanguageServerHost] Ignoring diagnostics request for untracked document: file:///D:/code/languageforge-lexbox/backend/FwLite/FwLiteProjectSync.Tests/Fixtures/SyncFixture.cs
2024-12-12 14:31:06.494 [info] [Warn - 2:31:06 PM] [LanguageServerHost] Ignoring diagnostics request for untracked document: file:///D:/code/languageforge-lexbox/backend/FwLite/FwLiteProjectSync.Tests/Fixtures/SyncFixture.cs
2024-12-12 14:31:06.494 [info] [Warn - 2:31:06 PM] [LanguageServerHost] Ignoring diagnostics request for untracked document: file:///D:/code/languageforge-lexbox/backend/FwLite/FwLiteProjectSync.Tests/Fixtures/SyncFixture.cs
2024-12-12 14:31:06.495 [info] [Warn - 2:31:06 PM] [LanguageServerHost] Ignoring diagnostics request for untracked document: file:///D:/code/languageforge-lexbox/backend/FwLite/FwLiteProjectSync.Tests/Fixtures/SyncFixture.cs
2024-12-12 14:31:06.495 [info] [Warn - 2:31:06 PM] [LanguageServerHost] Ignoring diagnostics request for untracked document: file:///D:/code/languageforge-lexbox/backend/FwLite/FwLiteProjectSync.Tests/Fixtures/SyncFixture.cs
2024-12-12 14:31:06.496 [info] [Warn - 2:31:06 PM] [LanguageServerHost] Ignoring diagnostics request for untracked document: file:///D:/code/languageforge-lexbox/backend/FwLite/FwLiteProjectSync.Tests/Fixtures/SyncFixture.cs
2024-12-12 14:37:31.173 [info] Locating .NET runtime version 8.0.10
2024-12-12 14:37:33.337 [info] Dotnet path: C:\Program Files\dotnet\dotnet.exe
2024-12-12 14:37:33.337 [info] Activating C# + C# Dev Kit...
2024-12-12 14:37:36.503 [info] [stdout] {"pipeName":"\\.\pipe\f1db2646"}

2024-12-12 14:37:36.504 [info] received named pipe information from server
2024-12-12 14:37:36.505 [info] client has connected to server
2024-12-12 14:37:36.602 [info] [Info - 2:37:36 PM] [Program] Language server initialized
2024-12-12 14:37:47.018 [info] [Info - 2:37:47 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\LexCore\LexCore.csproj loaded by C# Dev Kit
2024-12-12 14:37:47.061 [info] [Info - 2:37:47 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwHeadless\FwHeadless.csproj loaded by C# Dev Kit
2024-12-12 14:37:47.067 [info] [Info - 2:37:47 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\LfNext\LcmDebugger\LcmDebugger.csproj loaded by C# Dev Kit
2024-12-12 14:37:47.070 [info] [Info - 2:37:47 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\FwLiteShared\FwLiteShared.csproj loaded by C# Dev Kit
2024-12-12 14:37:47.072 [info] [Info - 2:37:47 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\FwDataMiniLcmBridge\FwDataMiniLcmBridge.csproj loaded by C# Dev Kit
2024-12-12 14:37:47.077 [info] [Info - 2:37:47 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\FwLiteProjectSync\FwLiteProjectSync.csproj loaded by C# Dev Kit
2024-12-12 14:37:47.079 [info] [Info - 2:37:47 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\MiniLcm\MiniLcm.csproj loaded by C# Dev Kit
2024-12-12 14:37:47.088 [info] [Info - 2:37:47 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\LcmCrdt\LcmCrdt.csproj loaded by C# Dev Kit
2024-12-12 14:37:47.148 [info] [Info - 2:37:47 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\LocalWebApp\LocalWebApp.csproj loaded by C# Dev Kit
2024-12-12 14:37:47.235 [info] [Info - 2:37:47 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\LcmCrdt.Tests\LcmCrdt.Tests.csproj loaded by C# Dev Kit
2024-12-12 14:37:47.355 [info] [Info - 2:37:47 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\harmony\src\SIL.Harmony.Core\SIL.Harmony.Core.csproj loaded by C# Dev Kit
2024-12-12 14:37:47.364 [info] [Info - 2:37:47 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\harmony\src\SIL.Harmony\SIL.Harmony.csproj loaded by C# Dev Kit
2024-12-12 14:37:47.464 [info] [Info - 2:37:47 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\FwLiteDesktop\FwLiteDesktop.csproj loaded by C# Dev Kit
2024-12-12 14:37:47.553 [info] [Info - 2:37:47 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\LfClassicData\LfClassicData.csproj loaded by C# Dev Kit
2024-12-12 14:37:47.659 [info] [Info - 2:37:47 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\Testing\Testing.csproj loaded by C# Dev Kit
2024-12-12 14:37:47.667 [info] [Info - 2:37:47 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\SyncReverseProxy\SyncReverseProxy.csproj loaded by C# Dev Kit
2024-12-12 14:37:47.784 [info] [Info - 2:37:47 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\LexBoxApi\LexBoxApi.csproj loaded by C# Dev Kit
2024-12-12 14:37:47.902 [info] [Info - 2:37:47 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\MiniLcm.Tests\MiniLcm.Tests.csproj loaded by C# Dev Kit
2024-12-12 14:37:48.005 [info] [Info - 2:37:48 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FixFwData\FixFwData.csproj loaded by C# Dev Kit
2024-12-12 14:37:48.095 [info] [Info - 2:37:48 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\FwLiteProjectSync.Tests\FwLiteProjectSync.Tests.csproj loaded by C# Dev Kit
2024-12-12 14:37:48.203 [info] [Info - 2:37:48 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\FwDataMiniLcmBridge.Tests\FwDataMiniLcmBridge.Tests.csproj loaded by C# Dev Kit
2024-12-12 14:37:48.535 [info] [Info - 2:37:48 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\LexData\LexData.csproj loaded by C# Dev Kit
2024-12-12 14:39:31.240 [info] Locating .NET runtime version 8.0.10
2024-12-12 14:39:33.390 [info] Dotnet path: C:\Program Files\dotnet\dotnet.exe
2024-12-12 14:39:33.390 [info] Activating C# + C# Dev Kit...
2024-12-12 14:39:35.995 [info] [stdout] {"pipeName":"\\.\pipe\d327cf31"}

2024-12-12 14:39:35.995 [info] received named pipe information from server
2024-12-12 14:39:35.996 [info] client has connected to server
2024-12-12 14:39:36.065 [info] [Info - 2:39:36 PM] [Program] Language server initialized
2024-12-12 14:39:45.003 [info] [Info - 2:39:45 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwHeadless\FwHeadless.csproj loaded by C# Dev Kit
2024-12-12 14:39:45.012 [info] [Info - 2:39:45 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\LcmCrdt\LcmCrdt.csproj loaded by C# Dev Kit
2024-12-12 14:39:45.014 [info] [Info - 2:39:45 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\FwDataMiniLcmBridge\FwDataMiniLcmBridge.csproj loaded by C# Dev Kit
2024-12-12 14:39:45.016 [info] [Info - 2:39:45 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\FwLiteShared\FwLiteShared.csproj loaded by C# Dev Kit
2024-12-12 14:39:45.019 [info] [Info - 2:39:45 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\FwLiteProjectSync\FwLiteProjectSync.csproj loaded by C# Dev Kit
2024-12-12 14:39:45.020 [info] [Info - 2:39:45 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\Testing\Testing.csproj loaded by C# Dev Kit
2024-12-12 14:39:45.021 [info] [Info - 2:39:45 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\LfNext\LcmDebugger\LcmDebugger.csproj loaded by C# Dev Kit
2024-12-12 14:39:45.022 [info] [Info - 2:39:45 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\LexCore\LexCore.csproj loaded by C# Dev Kit
2024-12-12 14:39:45.026 [info] [Info - 2:39:45 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\LcmCrdt.Tests\LcmCrdt.Tests.csproj loaded by C# Dev Kit
2024-12-12 14:39:45.027 [info] [Info - 2:39:45 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\harmony\src\SIL.Harmony.Core\SIL.Harmony.Core.csproj loaded by C# Dev Kit
2024-12-12 14:39:45.028 [info] [Info - 2:39:45 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\MiniLcm\MiniLcm.csproj loaded by C# Dev Kit
2024-12-12 14:39:45.029 [info] [Info - 2:39:45 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\MiniLcm.Tests\MiniLcm.Tests.csproj loaded by C# Dev Kit
2024-12-12 14:39:45.031 [info] [Info - 2:39:45 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\FwDataMiniLcmBridge.Tests\FwDataMiniLcmBridge.Tests.csproj loaded by C# Dev Kit
2024-12-12 14:39:45.032 [info] [Info - 2:39:45 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\LexData\LexData.csproj loaded by C# Dev Kit
2024-12-12 14:39:45.037 [info] [Info - 2:39:45 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FixFwData\FixFwData.csproj loaded by C# Dev Kit
2024-12-12 14:39:45.042 [info] [Info - 2:39:45 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\LfClassicData\LfClassicData.csproj loaded by C# Dev Kit
2024-12-12 14:39:45.044 [info] [Info - 2:39:45 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\FwLiteProjectSync.Tests\FwLiteProjectSync.Tests.csproj loaded by C# Dev Kit
2024-12-12 14:39:45.046 [info] [Info - 2:39:45 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\LocalWebApp\LocalWebApp.csproj loaded by C# Dev Kit
2024-12-12 14:39:45.048 [info] [Info - 2:39:45 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\harmony\src\SIL.Harmony\SIL.Harmony.csproj loaded by C# Dev Kit
2024-12-12 14:39:45.099 [info] [Info - 2:39:45 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\SyncReverseProxy\SyncReverseProxy.csproj loaded by C# Dev Kit
2024-12-12 14:39:45.190 [info] [Info - 2:39:45 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\FwLite\FwLiteDesktop\FwLiteDesktop.csproj loaded by C# Dev Kit
2024-12-12 14:39:45.195 [info] [Info - 2:39:45 PM] [WorkspaceProjectFactoryService] Project D:\code\languageforge-lexbox\backend\LexBoxApi\LexBoxApi.csproj loaded by C# Dev Kit

C# LSP Trace Logs

Post the output from Output-->C# LSP Trace Logs here. Requires the `C#` output window log level to be set to `Trace`

Environment information

VSCode version: 1.96.0
C# Extension: 2.60.26
Using OmniSharp: false

Dotnet Information .NET SDK: Version: 9.0.100-rc.2.24474.11 Commit: 315e1305db Workload version: 9.0.100-manifests.3424025a MSBuild version: 17.12.0-preview-24473-03+fea15fbd1

Runtime Environment:
OS Name: Windows
OS Version: 10.0.22631
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\9.0.100-rc.2.24474.11\

.NET workloads installed:
[android]
Installation Source: SDK 9.0.100-rc.2, VS 17.11.35431.28
Manifest Version: 35.0.0-rc.2.152/9.0.100-rc.2
Manifest Path: C:\Program Files\dotnet\sdk-manifests\9.0.100-rc.2\microsoft.net.sdk.android\35.0.0-rc.2.152\WorkloadManifest.json
Install Type: Msi

[aspire]
Installation Source: SDK 9.0.100-rc.2, VS 17.11.35431.28
Manifest Version: 8.2.2/8.0.100
Manifest Path: C:\Program Files\dotnet\sdk-manifests\8.0.100\microsoft.net.sdk.aspire\8.2.2\WorkloadManifest.json
Install Type: Msi

[ios]
Installation Source: SDK 9.0.100-rc.2, VS 17.11.35431.28
Manifest Version: 18.0.9600-net9-rc2/9.0.100-rc.2
Manifest Path: C:\Program Files\dotnet\sdk-manifests\9.0.100-rc.2\microsoft.net.sdk.ios\18.0.9600-net9-rc2\WorkloadManifest.json
Install Type: Msi

[maccatalyst]
Installation Source: SDK 9.0.100-rc.2, VS 17.11.35431.28
Manifest Version: 18.0.9600-net9-rc2/9.0.100-rc.2
Manifest Path: C:\Program Files\dotnet\sdk-manifests\9.0.100-rc.2\microsoft.net.sdk.maccatalyst\18.0.9600-net9-rc2\WorkloadManifest.json
Install Type: Msi

[maui-windows]
Installation Source: SDK 9.0.100-rc.2, VS 17.11.35431.28
Manifest Version: 9.0.0-rc.2.24503.2/9.0.100-rc.2
Manifest Path: C:\Program Files\dotnet\sdk-manifests\9.0.100-rc.2\microsoft.net.sdk.maui\9.0.0-rc.2.24503.2\WorkloadManifest.json
Install Type: Msi

[wasm-tools]
Installation Source: SDK 9.0.100-rc.2, VS 17.11.35431.28
Manifest Version: 9.0.0-rc.2.24473.5/9.0.100-rc.2
Manifest Path: C:\Program Files\dotnet\sdk-manifests\9.0.100-rc.2\microsoft.net.workload.mono.toolchain.current\9.0.0-rc.2.24473.5\WorkloadManifest.json
Install Type: Msi

[wasm-tools-net7]
Installation Source: SDK 9.0.100-rc.2, VS 17.11.35431.28
Manifest Version: 9.0.0-rc.2.24473.5/9.0.100-rc.2
Manifest Path: C:\Program Files\dotnet\sdk-manifests\9.0.100-rc.2\microsoft.net.workload.mono.toolchain.net7\9.0.0-rc.2.24473.5\WorkloadManifest.json
Install Type: Msi

Configured to use loose manifests when installing new manifests.

Host:
Version: 9.0.0-rc.2.24473.5
Architecture: x64
Commit: 990ebf52fc

.NET SDKs installed:
6.0.428 [C:\Program Files\dotnet\sdk]
7.0.120 [C:\Program Files\dotnet\sdk]
8.0.111 [C:\Program Files\dotnet\sdk]
8.0.404 [C:\Program Files\dotnet\sdk]
9.0.100-rc.2.24474.11 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.36 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.0-rc.2.24474.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.15 [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 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.0-rc.2.24473.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 6.0.15 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.36 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 7.0.20 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.11 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 9.0.0-rc.2.24474.4 [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:
Not set

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download

Visual Studio Code Extensions
Extension Author Version Folder Name
addlocalnetreferences RafisTatar 0.4.8 rafistatar.addlocalnetreferences-0.4.8
azure-repos ms-vscode 0.40.0 ms-vscode.azure-repos-0.40.0
code-runner formulahendry 0.12.2 formulahendry.code-runner-0.12.2
composer-php-vscode DEVSENSE 1.54.16480 devsense.composer-php-vscode-1.54.16480
copilot GitHub 1.250.0 github.copilot-1.250.0
copilot-chat GitHub 0.23.0 github.copilot-chat-0.23.0
csdevkit ms-dotnettools 1.15.13 ms-dotnettools.csdevkit-1.15.13-win32-x64
csharp ms-dotnettools 2.60.26 ms-dotnettools.csharp-2.60.26-win32-x64
csharpextensions kreativ-software 1.7.3 kreativ-software.csharpextensions-1.7.3
debugpy ms-python 2024.14.0 ms-python.debugpy-2024.14.0-win32-x64
EditorConfig EditorConfig 0.16.4 editorconfig.editorconfig-0.16.4
gc-excelviewer GrapeCity 4.2.62 grapecity.gc-excelviewer-4.2.62
gitlens eamodio 16.0.5 eamodio.gitlens-16.0.5
gitpatch paragdiwan 0.2.1 paragdiwan.gitpatch-0.2.1
gitstash arturock 5.2.0 arturock.gitstash-5.2.0
go golang 0.42.1 golang.go-0.42.1
i18n-ally lokalise 2.12.0 lokalise.i18n-ally-2.12.0
iconify antfu 0.10.2 antfu.iconify-0.10.2
indent-rainbow oderwat 8.3.1 oderwat.indent-rainbow-8.3.1
intelli-php-vscode DEVSENSE 0.12.15062 devsense.intelli-php-vscode-0.12.15062-win32-x64
intellij-idea-keybindings k--kato 1.7.3 k--kato.intellij-idea-keybindings-1.7.3
jbockle-format-files jbockle 3.4.0 jbockle.jbockle-format-files-3.4.0
makefile-tools ms-vscode 0.11.13 ms-vscode.makefile-tools-0.11.13
markdown-all-in-one yzhang 3.6.2 yzhang.markdown-all-in-one-3.6.2
markdown-converter manuth 5.2.1 manuth.markdown-converter-5.2.1
markdown-mermaid bierner 1.27.0 bierner.markdown-mermaid-1.27.0
markdown-pdf yzane 1.5.0 yzane.markdown-pdf-1.5.0
markdown-preview-github-styles bierner 2.1.0 bierner.markdown-preview-github-styles-2.1.0
marp-vscode marp-team 2.8.0 marp-team.marp-vscode-2.8.0
mongodb-vscode mongodb 1.11.0 mongodb.mongodb-vscode-1.11.0
pdf tomoki1207 1.2.2 tomoki1207.pdf-1.2.2
php-debug xdebug 1.35.0 xdebug.php-debug-1.35.0
php-intellisense zobo 1.3.3 zobo.php-intellisense-1.3.3
php-pack xdebug 1.0.3 xdebug.php-pack-1.0.3
phptools-vscode DEVSENSE 1.54.16480 devsense.phptools-vscode-1.54.16480-win32-x64
playwright ms-playwright 1.1.12 ms-playwright.playwright-1.1.12
postcss csstools 1.0.9 csstools.postcss-1.0.9
powershell ms-vscode 2024.4.0 ms-vscode.powershell-2024.4.0
prettier-vscode esbenp 11.0.0 esbenp.prettier-vscode-11.0.0
pretty-ts-errors YoavBls 0.6.1 yoavbls.pretty-ts-errors-0.6.1
profiler-php-vscode DEVSENSE 1.54.16480 devsense.profiler-php-vscode-1.54.16480
python ms-python 2024.22.0 ms-python.python-2024.22.0-win32-x64
rainbow-csv mechatroner 3.13.0 mechatroner.rainbow-csv-3.13.0
remote-containers ms-vscode-remote 0.394.0 ms-vscode-remote.remote-containers-0.394.0
remote-repositories ms-vscode 0.42.0 ms-vscode.remote-repositories-0.42.0
remote-wsl ms-vscode-remote 0.88.5 ms-vscode-remote.remote-wsl-0.88.5
remotehub GitHub 0.64.0 github.remotehub-0.64.0
sort-imports amatiasq 6.3.1 amatiasq.sort-imports-6.3.1
svelte-vscode svelte 109.3.3 svelte.svelte-vscode-109.3.3
tsl-problem-matcher amodio 0.6.2 amodio.tsl-problem-matcher-0.6.2
twig whatwedo 1.0.2 whatwedo.twig-1.0.2
vscode-csharp-snippets jorgeserrano 1.1.0 jorgeserrano.vscode-csharp-snippets-1.1.0
vscode-docker ms-azuretools 1.29.3 ms-azuretools.vscode-docker-1.29.3
vscode-dotnet-runtime ms-dotnettools 2.2.3 ms-dotnettools.vscode-dotnet-runtime-2.2.3
vscode-eslint dbaeumer 3.0.13 dbaeumer.vscode-eslint-3.0.13
vscode-github-actions github 0.27.0 github.vscode-github-actions-0.27.0
vscode-graphql GraphQL 0.12.1 graphql.vscode-graphql-0.12.1
vscode-graphql-syntax GraphQL 1.3.8 graphql.vscode-graphql-syntax-1.3.8
vscode-html-css ecmel 2.0.11 ecmel.vscode-html-css-2.0.11
vscode-icons vscode-icons-team 12.9.0 vscode-icons-team.vscode-icons-12.9.0
vscode-intelephense-client bmewburn 1.12.6 bmewburn.vscode-intelephense-client-1.12.6
vscode-json5 KatjanaKosic 1.0.1 katjanakosic.vscode-json5-1.0.1
vscode-kubernetes-tools ms-kubernetes-tools 1.3.18 ms-kubernetes-tools.vscode-kubernetes-tools-1.3.18
vscode-postgres ckolkman 1.4.3 ckolkman.vscode-postgres-1.4.3
vscode-pull-request-github GitHub 0.102.0 github.vscode-pull-request-github-0.102.0
vscode-pylance ms-python 2024.12.1 ms-python.vscode-pylance-2024.12.1
vscode-speech ms-vscode 0.12.1 ms-vscode.vscode-speech-0.12.1-win32-x64
vscode-tailwindcss bradlc 0.12.16 bradlc.vscode-tailwindcss-0.12.16
vscode-task task 0.3.2 task.vscode-task-0.3.2
vscode-wasm dtsvet 1.4.1 dtsvet.vscode-wasm-1.4.1
vscode-yaml redhat 1.15.0 redhat.vscode-yaml-1.15.0
vsliveshare ms-vsliveshare 1.0.5941 ms-vsliveshare.vsliveshare-1.0.5941
vsliveshare-pack ms-vsliveshare 0.4.0 ms-vsliveshare.vsliveshare-pack-0.4.0
xml DotJoshJohnson 2.5.1 dotjoshjohnson.xml-2.5.1

Extension version: 2.60.26
VS Code version: Code 1.96.0 (138f619c86f1199955d53b4166bef66ef252935c, 2024-12-11T02:29:09.626Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info
Item Value
CPUs AMD Ryzen 7 5825U with Radeon Graphics (16 x 1996)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 22.83GB (6.72GB free)
Process Argv --crash-reporter-id afb35fb5-5fae-4774-b714-3eb60679b7c8
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythonnoceb:30805159
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
dvdeprecation:31068756
dwnewjupyter:31046869
2f103344:31071589
nativerepl2:31139839
pythonrstrctxt:31112756
nativeloc1:31192215
cf971741:31144450
iacca1:31171482
notype1cf:31157160
5fd0e150:31155592
dwcopilot:31170013
stablechunks:31184530

@myieye
Copy link
Author

myieye commented Dec 12, 2024

The problem goes away when I disable the C# Dev Kit extension.

Some potentially relevant settings as they have been configured both with and without C# Dev Kit:

Image

Image

@breyed
Copy link

breyed commented Dec 18, 2024

Possibly related: The C# extension reports this error in its log for a dotnet new console project:

2024-12-18 12:20:48.946 [info] [Error - 12:20:48 PM] [LanguageServerProjectSystem] Error while loading path-to-project/csharp.csproj: The specified task executable location "/usr/local/share/dotnet" is invalid.

@breyed
Copy link

breyed commented Dec 18, 2024

I find that when C# Dev Kit is enabled, the class and method symbol coloring appears when VS Code starts, but after a second, the coloring switches to that of unknown symbols. Additionally, Intellisense doesn't work. For example, typing Console. doesn't provide a list of methods. With C# Dev Kit is disabled, Intellisense works (although the C# extension still reports the error shown in the previous comment).

I'm using up-to-date release versions of VS Code, extensions, and the .NET SDK (SDK 9.0.101). This reproduces on a basic dotnet new console project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants