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

Getting errors in the C# and C# Dev Kit extensions like Failed to listen to project initialization status: Error: Activating the "Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService (0.1)" service failed. #1395

Open
brunck opened this issue Aug 25, 2024 · 1 comment

Comments

@brunck
Copy link

brunck commented Aug 25, 2024

Type: Bug

VSCode updated itself to 1.92.2 and opening a solution now fails miserably, with multiple error messages from the C# and C# Dev Kit extensions such as:

[Error - 10:35:02 PM] Microsoft.CodeAnalysis.LanguageServer client: couldn't create connection to server. Error: Timeout. Client cound not connect to server via named pipe at Function.<anonymous> (/Users/<username>/.vscode/extensions/ms-dotnettools.csharp-2.44.19-darwin-x64/dist/extension.js:2:1265465) at Generator.next (<anonymous>) at s (/Users/<username>/.vscode/extensions/ms-dotnettools.csharp-2.44.19-darwin-x64/dist/extension.js:2:1253410)

and

Failed to listen to project initialization status: Error: Activating the "Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService (0.1)" service failed.

Failed to subscribe to active projects: Error: Activating the "Microsoft.VisualStudio.ProjectSystem.Query.Remoting.QueryExecutionService (0.2)" service failed.

Activating the "Microsoft.VisualStudio.CpsProjectIconSourceService (0.1)" service failed.

Extension version: 1.10.10
VS Code version: Code 1.92.2 (Universal) (fee1edb8d6d72a0ddff41e5f71a671c23ed924b9, 2024-08-14T17:29:30.058Z)
OS version: Darwin x64 23.6.0
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz (12 x 2900)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
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
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) 6, 5, 7
Memory (System) 16.00GB (1.06GB free)
Process Argv --crash-reporter-id f2ddf266-f6f2-483c-ae37-fb42d349ea93 --crash-reporter-id f2ddf266-f6f2-483c-ae37-fb42d349ea93
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
724cj586:31013169
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
2f103344:31071589
impr_priority:31102340
nativerepl2:31104044
refactort:31108082
pythonrstrctxt:31112756
wkspc-onlycs-c:31111717
fje88620:31121564

Issue #840 asked for certain log files, attaching one here that I could find that seems relevant.

0D18E619-hubController-5181-biiqnfrb-1.log

Output of dotnet --info
.NET SDK:
 Version:           9.0.100-rc.1.24409.1
 Commit:            43360291a5
 Workload version:  9.0.100-manifests.00125661
 MSBuild version:   17.12.0-preview-24407-03+6bc91d5e2

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  14.6
 OS Platform: Darwin
 RID:         osx-x64
 Base Path:   /Users/brian/Documents/SourceCode/maui/bin/dotnet/sdk/9.0.100-rc.1.24409.1/

.NET workloads installed:
Configured to use loose manifests when installing new manifests.
 [macos]
   Installation Source: SDK 9.0.100-rc.1
   Manifest Version:    14.5.9260-net9-rc1/9.0.100-rc.1
   Manifest Path:       /Users/brian/Documents/SourceCode/maui/bin/dotnet/sdk-manifests/9.0.100-rc.1/microsoft.net.sdk.macos/WorkloadManifest.json
   Install Type:        FileBased

 [ios]
   Installation Source: SDK 9.0.100-rc.1
   Manifest Version:    17.5.9260-net9-rc1/9.0.100-rc.1
   Manifest Path:       /Users/brian/Documents/SourceCode/maui/bin/dotnet/sdk-manifests/9.0.100-rc.1/microsoft.net.sdk.ios/WorkloadManifest.json
   Install Type:        FileBased

 [maccatalyst]
   Installation Source: SDK 9.0.100-rc.1
   Manifest Version:    17.5.9260-net9-rc1/9.0.100-rc.1
   Manifest Path:       /Users/brian/Documents/SourceCode/maui/bin/dotnet/sdk-manifests/9.0.100-rc.1/microsoft.net.sdk.maccatalyst/WorkloadManifest.json
   Install Type:        FileBased

 [tvos]
   Installation Source: SDK 9.0.100-rc.1
   Manifest Version:    17.5.9260-net9-rc1/9.0.100-rc.1
   Manifest Path:       /Users/brian/Documents/SourceCode/maui/bin/dotnet/sdk-manifests/9.0.100-rc.1/microsoft.net.sdk.tvos/WorkloadManifest.json
   Install Type:        FileBased

 [android]
   Installation Source: SDK 9.0.100-rc.1
   Manifest Version:    35.0.0-rc.1.49/9.0.100-rc.1
   Manifest Path:       /Users/brian/Documents/SourceCode/maui/bin/dotnet/sdk-manifests/9.0.100-rc.1/microsoft.net.sdk.android/WorkloadManifest.json
   Install Type:        FileBased


Host:
  Version:      9.0.0-rc.1.24408.12
  Architecture: x64
  Commit:       static

.NET SDKs installed:
  9.0.100-rc.1.24409.1 [/Users/brian/Documents/SourceCode/maui/bin/dotnet/sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 9.0.0-rc.1.24407.10 [/Users/brian/Documents/SourceCode/maui/bin/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 9.0.0-rc.1.24408.12 [/Users/brian/Documents/SourceCode/maui/bin/dotnet/shared/Microsoft.NETCore.App]

Other architectures found:
  None

Environment variables:
  DOTNET_ROOT       [/Users/brian/Documents/SourceCode/maui/bin/dotnet]

global.json file:
  Not found

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

Download .NET:
  https://aka.ms/dotnet/download
@conradbekondo
Copy link

Also getting this problem in WSL2 Ubuntu

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

3 participants