-
Notifications
You must be signed in to change notification settings - Fork 40
Description
Originally filed by @bogeyinto2 at dotnet/vscode-csharp#8911
Type: Bug
Issue Description
This is on a new clean Mac OS Tahoe 26.2 installation. Never had this issue before.
When on the file explorer and selecting Create New .NET Project and creating a console app, upon creation in a new folder, the solution is empty with 0 projects. The project gets created but I have to manually add an existing project to the solution.
Steps to Reproduce
Create a new .NET Application
Create a new folder
Create a new console app
Select an SDK (I tried 10 and 8 same issue)
Create the project
Solution explorer loads but the solution has 0 projects.
Expected Behavior
Solution should automatically include csproj files.
Actual Behavior
Solution is created empty.
Extension version: 2.110.4
VS Code version: Code 1.108.2 (Universal) (c9d77990917f3102ada88be140d28b038d1dd7c7, 2026-01-21T13:52:09.270Z)
OS version: Darwin arm64 25.2.0
Modes:
Logs
C# log
Details
2026-01-24 11:19:05.805 [info] Installing C# dependencies...
2026-01-24 11:19:05.805 [info]
2026-01-24 11:19:05.805 [info] Platform: darwin, arm64
2026-01-24 11:19:05.805 [info]
2026-01-24 11:19:05.805 [info] Downloading package 'Language server for Roslyn Copilot integration'
2026-01-24 11:19:06.195 [info] (47 KB)
2026-01-24 11:19:06.195 [info] .......
2026-01-24 11:19:06.272 [info] .......
2026-01-24 11:19:06.273 [info] ......
2026-01-24 11:19:06.274 [info] Done!
2026-01-24 11:19:06.275 [info] Validating download...
2026-01-24 11:19:06.275 [info] Integrity Check succeeded.
2026-01-24 11:19:06.275 [info] Installing package 'Language server for Roslyn Copilot integration'
2026-01-24 11:19:06.275 [info]
2026-01-24 11:19:06.283 [info] Finished
2026-01-24 11:19:06.284 [info]
2026-01-24 11:19:06.317 [info] Locating .NET runtime version 9.0.1
2026-01-24 11:19:06.371 [info] Dotnet path: /usr/local/share/dotnet/dotnet
2026-01-24 11:19:06.371 [info] Activating C# + C# Dev Kit...
2026-01-24 11:19:06.446 [info] [stdout] info: Program[0]
Server started with process ID 4075
2026-01-24 11:19:06.875 [info] [stdout] {"pipeName":"/var/folders/34/thf6b09x0_xbcntw5df6kqch0000gn/T/90459f81.sock"}
2026-01-24 11:19:06.875 [info] received named pipe information from server
2026-01-24 11:19:06.876 [info] client has connected to server
2026-01-24 11:19:06.921 [info] [Program] Language server initialized
2026-01-24 11:19:07.796 [warning] [textDocument/diagnostic] [LanguageServerProjectLoader] Project /var/folders/34/thf6b09x0_xbcntw5df6kqch0000gn/T/roslyn-canonical-misc/744fca7a-a2eb-4365-9960-0259f17c92d2/Canonical.csproj has unresolved dependencies
2026-01-24 11:19:07.840 [info] [textDocument/diagnostic] [LanguageServerProjectLoader] Successfully completed load of /var/folders/34/thf6b09x0_xbcntw5df6kqch0000gn/T/roslyn-canonical-misc/744fca7a-a2eb-4365-9960-0259f17c92d2/Canonical.cs
2026-01-24 11:19:07.843 [info] [textDocument/diagnostic] [LanguageServerProjectLoader] Restoring Canonical.cs: Running dotnet restore on /var/folders/34/thf6b09x0_xbcntw5df6kqch0000gn/T/roslyn-canonical-misc/744fca7a-a2eb-4365-9960-0259f17c92d2/Canonical.cs
2026-01-24 11:19:07.843 [info] [textDocument/diagnostic] [Microsoft.CodeAnalysis.LanguageServer.DotnetCliHelper] Using dotnet executable configured on the PATH
2026-01-24 11:19:08.124 [info] [textDocument/diagnostic] [LanguageServerProjectLoader] Restoring Canonical.cs: Determining projects to restore...
2026-01-24 11:19:08.297 [info] [textDocument/diagnostic] [LanguageServerProjectLoader] Restoring Canonical.cs: Restored /var/folders/34/thf6b09x0_xbcntw5df6kqch0000gn/T/roslyn-canonical-misc/744fca7a-a2eb-4365-9960-0259f17c92d2/Canonical.csproj (in 67 ms).
2026-01-24 11:19:08.309 [info] [textDocument/diagnostic] [LanguageServerProjectLoader] Restore complete
2026-01-24 11:19:08.310 [info] [textDocument/diagnostic] [LanguageServerProjectLoader] Completed (re)load of all projects in 00:00:00.9711111
2026-01-24 11:19:13.835 [info] Locating .NET runtime version 9.0.1
2026-01-24 11:19:13.922 [info] Dotnet path: /usr/local/share/dotnet/dotnet
2026-01-24 11:19:13.922 [info] Activating C# + C# Dev Kit...
2026-01-24 11:19:14.261 [info] [stdout] info: Program[0]
Server started with process ID 4161
{"pipeName":"/var/folders/34/thf6b09x0_xbcntw5df6kqch0000gn/T/84bf1114.sock"}
2026-01-24 11:19:14.261 [info] received named pipe information from server
2026-01-24 11:19:14.625 [info] client has connected to server
2026-01-24 11:19:14.638 [info] [Program] Language server initialized
2026-01-24 11:19:15.535 [warning] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Project /var/folders/34/thf6b09x0_xbcntw5df6kqch0000gn/T/roslyn-canonical-misc/7f44113c-848d-49b6-bea3-9048995c136f/Canonical.csproj has unresolved dependencies
2026-01-24 11:19:15.577 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Successfully completed load of /var/folders/34/thf6b09x0_xbcntw5df6kqch0000gn/T/roslyn-canonical-misc/7f44113c-848d-49b6-bea3-9048995c136f/Canonical.cs
2026-01-24 11:19:15.580 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Restoring Canonical.cs: Running dotnet restore on /var/folders/34/thf6b09x0_xbcntw5df6kqch0000gn/T/roslyn-canonical-misc/7f44113c-848d-49b6-bea3-9048995c136f/Canonical.cs
2026-01-24 11:19:15.581 [info] [textDocument/_vs_getProjectContexts] [Microsoft.CodeAnalysis.LanguageServer.DotnetCliHelper] Using dotnet executable configured on the PATH
2026-01-24 11:19:15.888 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Restoring Canonical.cs: Determining projects to restore...
2026-01-24 11:19:16.054 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Restoring Canonical.cs: Restored /var/folders/34/thf6b09x0_xbcntw5df6kqch0000gn/T/roslyn-canonical-misc/7f44113c-848d-49b6-bea3-9048995c136f/Canonical.csproj (in 70 ms).
2026-01-24 11:19:16.068 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Restore complete
2026-01-24 11:19:16.069 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Completed (re)load of all projects in 00:00:01.0048832
2026-01-24 11:19:40.933 [info] Locating .NET runtime version 9.0.1
2026-01-24 11:19:41.026 [info] Dotnet path: /usr/local/share/dotnet/dotnet
2026-01-24 11:19:41.026 [info] Activating C# + C# Dev Kit...
2026-01-24 11:19:41.358 [info] [stdout] info: Program[0]
Server started with process ID 4308
{"pipeName":"/var/folders/34/thf6b09x0_xbcntw5df6kqch0000gn/T/2f25575e.sock"}
2026-01-24 11:19:41.358 [info] received named pipe information from server
2026-01-24 11:19:41.710 [info] client has connected to server
2026-01-24 11:19:41.720 [info] [Program] Language server initialized
2026-01-24 11:19:42.601 [warning] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Project /var/folders/34/thf6b09x0_xbcntw5df6kqch0000gn/T/roslyn-canonical-misc/cbb0b050-70f5-4798-93ce-234cc0193cf3/Canonical.csproj has unresolved dependencies
2026-01-24 11:19:42.641 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Successfully completed load of /var/folders/34/thf6b09x0_xbcntw5df6kqch0000gn/T/roslyn-canonical-misc/cbb0b050-70f5-4798-93ce-234cc0193cf3/Canonical.cs
2026-01-24 11:19:42.644 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Restoring Canonical.cs: Running dotnet restore on /var/folders/34/thf6b09x0_xbcntw5df6kqch0000gn/T/roslyn-canonical-misc/cbb0b050-70f5-4798-93ce-234cc0193cf3/Canonical.cs
2026-01-24 11:19:42.644 [info] [textDocument/_vs_getProjectContexts] [Microsoft.CodeAnalysis.LanguageServer.DotnetCliHelper] Using dotnet executable configured on the PATH
2026-01-24 11:19:42.952 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Restoring Canonical.cs: Determining projects to restore...
2026-01-24 11:19:43.128 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Restoring Canonical.cs: Restored /var/folders/34/thf6b09x0_xbcntw5df6kqch0000gn/T/roslyn-canonical-misc/cbb0b050-70f5-4798-93ce-234cc0193cf3/Canonical.csproj (in 80 ms).
2026-01-24 11:19:43.144 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Restore complete
2026-01-24 11:19:43.144 [info] [textDocument/_vs_getProjectContexts] [LanguageServerProjectLoader] Completed (re)load of all projects in 00:00:01.0031462
2026-01-24 11:19:53.672 [info] [serviceBroker/connect] [WorkspaceProjectFactoryService] Project /Users/User/Test3/ConsoleApp1/ConsoleApp1.csproj loaded by C# Dev Kit
C# LSP Trace Logs log
Details
Environment Information
VSCode version: 1.108.2
C# Extension: 2.110.4
Using OmniSharp: false
Dotnet Information
.NET SDK: Version: 10.0.102 Commit: 4452502459 Workload version: 10.0.100-manifests.73000c7b MSBuild version: 18.0.7+445250245Runtime Environment:
OS Name: Mac OS X
OS Version: 26.2
OS Platform: Darwin
RID: osx-arm64
Base Path: /usr/local/share/dotnet/sdk/10.0.102/
.NET workloads installed:
There are no installed workloads to display.
Configured to use workload sets when installing new manifests.
No workload sets are installed. Run "dotnet workload restore" to install a workload set.
Host:
Version: 10.0.2
Architecture: arm64
Commit: 4452502459
.NET SDKs installed:
8.0.417 [/usr/local/share/dotnet/sdk]
10.0.102 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 8.0.23 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 10.0.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.23 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 10.0.2 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
None
Environment variables:
DOTNET_CLI_UI_LANGUAGE [en-US]
DOTNET_MULTILEVEL_LOOKUP [0]
DOTNET_NOLOGO [true]
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 |
|---|---|---|---|
| ariake-dark | wart | 0.2.2 | wart.ariake-dark-0.2.2 |
| continue | Continue | 1.2.14 | continue.continue-1.2.14-darwin-arm64 |
| csdevkit | ms-dotnettools | 1.90.2 | ms-dotnettools.csdevkit-1.90.2-darwin-arm64 |
| csharp | ms-dotnettools | 2.110.4 | ms-dotnettools.csharp-2.110.4-darwin-arm64 |
| vscode-dotnet-runtime | ms-dotnettools | 3.0.0 | ms-dotnettools.vscode-dotnet-runtime-3.0.0 |
C# Settings
| Setting | Value |
|---|---|
| preferCSharpExtension | false |
| compilerDiagnosticScope | openFiles |
| analyzerDiagnosticScope | openFiles |
| enableXamlTools | true |
| useServerGC | true |
System Info
| Item | Value |
|---|---|
| CPUs | Apple M4 Max (14 x 2400) |
| 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 webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | 2, 3, 3 |
| Memory (System) | 36.00GB (0.54GB free) |
| Process Argv | --crash-reporter-id e424844c-4725-4765-b9b3-221c33762104 |
| Screen Reader | no |
| VM | 0% |
A/B Experiments
vsliv368:30146709
pythonvspyt551cf:31249601
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31436602
aj953862:31281341
6abeh943:31336334
cloudbuttont:31379625
3efgi100_wstrepl:31403338
use-responses-api:31390855
anonusage:31403420
ec5jj548:31422691
cp_cls_c_966_ss:31446431
c0683394:31419495
a5gib710:31434435
7a04d226_do_not_restore_last_panel_session:31438103
anthropic_thinking_t:31432745
406hc587_ask_agent:31428393
cp_cls_c_1081:31443829
nes-set-to-on:31441941
a43f0575b:31442825