-
Notifications
You must be signed in to change notification settings - Fork 39
Closed
Labels
Reliabilityarea-solutionSolution explorerSolution explorerbugSomething isn't workingSomething isn't working
Description
Describe the Issue
Probably related to #704 (closed)
When opening the solution explorer the following error appears.

And the solution explorer will fail to open:

C# log output
Using dotnet configured on PATH
Dotnet path: C:\Program Files\dotnet\dotnet.exe
Activating C# + C# Dev Kit + C# IntelliCode...
waiting for named pipe information from server...
[stdout] {"pipeName":"\\\\.\\pipe\\e8f7761c"}
received named pipe information from server
attempting to connect client to server...
client has connected to server
[Info - 12:00:34 PM] [Program] Language server initialized
C# Dev Kit log output:
Starting Spawn .NET server...
Starting Open a solution...
Starting Open a solution with environment service...
Starting Clear environment...
Using preinstalled .NET runtime at "C:\Program Files\dotnet\dotnet.exe"
Using runtime installed in SDK.
.NET server started and IPC established in 1917ms
Completed Spawn .NET server (4392ms)
Completed Clear environment (4766ms)
Completed Open a solution with environment service (4811ms)
Starting Restore solution...
Completed Open a solution (4835ms)
Starting NuGet restore for the solution.
Starting command: "dotnet.exe" restore C:\src\mySolution.sln --interactive...
Failed to listen to project initialization status: Error: Activating the "Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService (0.1)" service failed.
Completed command: "dotnet.exe" restore C:\src\mySolution.sln --interactive (3076ms)
Completed NuGet restore.
Completed Restore solution (3079ms)
C# Dev Kit - Text Explorer log output
Created Test Controller
unable to create test controller for c# extension: Error: Activating the "Microsoft.VisualStudio.TestWindow.VSCode.Service (0.1)" service failed.
The dotnet restore failing might be related to dotnet/sdk#10189 which I've resolved manually via dotnet/sdk#10189 (comment) this however did not fix the solution explorer.
PS C:\src> iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/microsoft/artifacts-credprovider/master/helpers/installcredprovider.ps1'))
PS C:\src> dotnet restore .\mySolution.sln --interactive
Determining projects to restore...
All projects are up-to-date for restore.
PS C:\src>
Steps To Reproduce
No specific reproduction steps known other than a clean install.
Expected Behavior
No errors or UI bugs.
Environment Information
-
Windows 10 (22H2 19045.3693)
-
System also runs Visual Studio 2022
-
dotnet sdk's
PS C:\src> dotnet --list-sdks
6.0.406 [C:\Program Files\dotnet\sdk]
7.0.200 [C:\Program Files\dotnet\sdk]
8.0.100 [C:\Program Files\dotnet\sdk]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Reliabilityarea-solutionSolution explorerSolution explorerbugSomething isn't workingSomething isn't working
