-
Notifications
You must be signed in to change notification settings - Fork 720
Description
Type: Bug
Issue Description
With the Solution Explorer file sync enabled, when a file/tab is selected while use a different pane, for instance Test Explorer, returning to the Solution Explorer doesn't sync with the open file.
Steps to Reproduce
Enable Solution Explorer file sync, edit a file and see the solution explorer syncing the current file correctly. Switch to the Test Explorer (or any other explorer, like Extensions, Search, ...), select a different file editor, go back to the Solution Explorer: the highlighted file in the Solution Explorer is not the one with the active editor.
Expected Behavior
The Solution Explorer should sync with the currently active editor file.
Actual Behavior
Logs
C# log
C# LSP Trace Logs
Environment information
VSCode version: 1.103.0
C# Extension: 2.88.42
Using OmniSharp: false
Dotnet Information
.NET SDK: Version: 10.0.100-preview.6.25358.103 Commit: 75972a5ba7 Workload version: 10.0.100-manifests.cc13e7a2 MSBuild version: 17.15.0-preview-25358-103+75972a5baRuntime Environment:
OS Name: Windows
OS Version: 10.0.26100
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\10.0.100-preview.6.25358.103\
.NET workloads installed:
[aspire]
Installation Source: VS 17.14.36401.2
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
Configured to use workload sets when installing new manifests.
Workloads are configured to install and update using workload versions, but none were found. Run "dotnet workload restore" to install a workload version.
Host:
Version: 10.0.0-preview.6.25358.103
Architecture: x64
Commit: 75972a5ba7
.NET SDKs installed:
7.0.410 [C:\Program Files\dotnet\sdk]
8.0.119 [C:\Program Files\dotnet\sdk]
8.0.206 [C:\Program Files\dotnet\sdk]
8.0.316 [C:\Program Files\dotnet\sdk]
8.0.413 [C:\Program Files\dotnet\sdk]
9.0.205 [C:\Program Files\dotnet\sdk]
9.0.304 [C:\Program Files\dotnet\sdk]
10.0.100-preview.2.25164.34 [C:\Program Files\dotnet\sdk]
10.0.100-preview.6.25358.103 [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.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.19 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 10.0.0-preview.2.25164.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 10.0.0-preview.6.25358.103 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.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.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.19 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.8 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.0-preview.2.25163.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.0-preview.6.25358.103 [C:\Program Files\dotnet\shared\Microsoft.NETCore.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.6 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 8.0.19 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 9.0.6 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 9.0.8 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 10.0.0-preview.2.25163.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 10.0.0-preview.6.25358.103 [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 |
---|---|---|---|
code-spell-checker | streetsidesoftware | 4.0.47 | streetsidesoftware.code-spell-checker-4.0.47 |
copilot | GitHub | 1.350.0 | github.copilot-1.350.0 |
copilot-chat | GitHub | 0.30.0 | github.copilot-chat-0.30.0 |
csdevkit | ms-dotnettools | 1.41.11 | ms-dotnettools.csdevkit-1.41.11-win32-x64 |
csharp | ms-dotnettools | 2.88.42 | ms-dotnettools.csharp-2.88.42-win32-x64 |
data-workspace-vscode | ms-mssql | 0.6.3 | ms-mssql.data-workspace-vscode-0.6.3 |
debugpy | ms-python | 2025.10.0 | ms-python.debugpy-2025.10.0-win32-x64 |
markdown-pdf | yzane | 1.5.0 | yzane.markdown-pdf-1.5.0 |
mssql | ms-mssql | 1.34.0 | ms-mssql.mssql-1.34.0 |
python | ms-python | 2025.12.0 | ms-python.python-2025.12.0-win32-x64 |
remote-containers | ms-vscode-remote | 0.422.1 | ms-vscode-remote.remote-containers-0.422.1 |
remote-wsl | ms-vscode-remote | 0.99.0 | ms-vscode-remote.remote-wsl-0.99.0 |
sql-bindings-vscode | ms-mssql | 0.4.1 | ms-mssql.sql-bindings-vscode-0.4.1 |
sql-database-projects-vscode | ms-mssql | 1.5.3 | ms-mssql.sql-database-projects-vscode-1.5.3 |
vscode-ai-foundry | TeamsDevApp | 0.8.0 | teamsdevapp.vscode-ai-foundry-0.8.0 |
vscode-azureresourcegroups | ms-azuretools | 0.11.1 | ms-azuretools.vscode-azureresourcegroups-0.11.1 |
vscode-azurestorage | ms-azuretools | 0.16.5 | ms-azuretools.vscode-azurestorage-0.16.5 |
vscode-bicep | ms-azuretools | 0.37.4 | ms-azuretools.vscode-bicep-0.37.4 |
vscode-cosmosdb | ms-azuretools | 0.27.1 | ms-azuretools.vscode-cosmosdb-0.27.1 |
vscode-dotnet-runtime | ms-dotnettools | 2.3.7 | ms-dotnettools.vscode-dotnet-runtime-2.3.7 |
vscode-eslint | dbaeumer | 3.0.16 | dbaeumer.vscode-eslint-3.0.16 |
vscode-pgsql | ms-ossdata | 1.8.0 | ms-ossdata.vscode-pgsql-1.8.0 |
vscode-postgres | ckolkman | 1.4.3 | ckolkman.vscode-postgres-1.4.3 |
vscode-pylance | ms-python | 2025.7.1 | ms-python.vscode-pylance-2025.7.1 |
vscode-python-envs | ms-python | 1.2.0 | ms-python.vscode-python-envs-1.2.0-win32-x64 |
vscodeintellicode-csharp | ms-dotnettools | 2.2.3 | ms-dotnettools.vscodeintellicode-csharp-2.2.3-win32-x64 |
windows-ai-studio | ms-windows-ai-studio | 0.18.3 | ms-windows-ai-studio.windows-ai-studio-0.18.3-win32-x64 |
C# Settings
Setting | Value |
---|---|
preferCSharpExtension | false |
compilerDiagnosticScope | openFiles |
analyzerDiagnosticScope | openFiles |
enableXamlTools | true |
useServerGC | true |
Extension version: 2.88.42
VS Code version: Code 1.103.0 (e3550cfac4b63ca4eafca7b601f0d2885817fd1f, 2025-08-06T21:40:10.271Z)
OS version: Windows_NT x64 10.0.26100
Modes:
System Info
Item | Value |
---|---|
CPUs | 12th Gen Intel(R) Core(TM) i7-1260P (16 x 2496) |
GPU Status | 2d_canvas: enabled 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 vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
Load (avg) | undefined |
Memory (System) | 63.59GB (32.84GB free) |
Process Argv | --crash-reporter-id 10bf83fa-8ded-49b9-983f-300f3a20d8d4 |
Screen Reader | no |
VM | 0% |
A/B Experiments
vsliv368cf:30146710
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythoneinst12:31285622
c7cif404:31314491
996jf627:31283433
pythonrdcb7:31342333
usemplatestapi:31297334
0aa6g176:31307128
747dc170:31275177
aj953862:31281341
pylancequickfixf:31358881
9d2cg352:31346308
convertlamdat:31358880
usemarketplace:31343026
nesew2to5:31336538
agentclaude:31335814
replacestringexc:31350595
nes-set-on:31340697
6abeh943:31336334
envsdeactivate2:31353495
yijiwantestdri0626-t:31336930
0927b901:31350571
4gdec884:31348710
45650338:31358607
0cj2b977:31352657
gaj49834:31362110
gemagent1cf:31363461