microsoft / vscode-dotnettools

This is a feedback repository to capture issues logged for the C# Dev Kit and related extensions from Visual Studio Code
Other
191 stars 6 forks source link

C# Dev kit completely broken. Nothing works. #799

Closed wgrs closed 1 week ago

wgrs commented 5 months ago

Type: Bug

Refactoring completely broken along with intellisense. Testing doesnt work. In fact Im not sure anything is actually working on this ext. Wasted hours reinstalling countless times.

This extension is completely useless. This was supposed to fix all the omniCode stuff but its even worse than that tool. Its crippling vscode. Its a now a constant battle doing even basic things in vscode.

Zero refactoring, zero intellisense and zero testing.

Extension version: 1.1.16 VS Code version: Code 1.85.0 (af28b32d7e553898b2a91af498b1fb666fdebe0c, 2023-12-06T22:27:05.695Z) OS version: Linux x64 6.5.0-14-generic snap Modes:

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i3-2350M CPU @ 2.30GHz (4 x 2294)| |GPU Status|2d_canvas: unavailable_software
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
opengl: disabled_off
rasterization: disabled_software
raw_draw: disabled_off_ok
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
webgpu: disabled_off| |Load (avg)|1, 1, 1| |Memory (System)|7.66GB (4.70GB free)| |Process Argv|--no-sandbox --force-user-env --unity-launch --crash-reporter-id 2e58bea4-2abd-486f-ba1a-d660f0ad9c03| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|ubuntu| |XDG_CURRENT_DESKTOP|Unity| |XDG_SESSION_DESKTOP|ubuntu| |XDG_SESSION_TYPE|wayland|
A/B Experiments ``` vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vslsvsres303:30308271 vserr242cf:30382550 pythontb:30283811 vsjup518:30340749 pythonptprofiler:30281270 vshan820:30294714 vstes263:30335439 vscoreces:30445986 vscod805cf:30301675 binariesv615:30325510 bridge0708:30335490 bridge0723:30353136 vsaa593cf:30376535 pythonvs932:30410667 py29gd2263:30899288 vsclangdf:30486550 c4g48928:30535728 dsvsc012:30540252 azure-dev_surveyone:30548225 2e4cg342:30602488 89544117:30613380 2i9eh265:30646982 showlangstatbar:30737416 fixshowwlkth:30771522 showindicator:30805244 pythongtdpath:30769146 i26e3531:30792625 welcomedialogc:30910334 pythonnosmt12:30797651 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 dsvsc013:30795093 dsvsc014:30804076 dsvsc015:30845448 pythontestfixt:30902429 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 h48ei257:30885898 pythontbext0:30879054 accentitlementsc:30887149 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 aa_t_chat:30882232 dsvsc019cf:30917260 ```
wgrs commented 3 months ago

@timheuer I dont have another linux OS to hand. Even if I did, the documentation on installing the .NET SDK is extremely confusing and contradictory with very little clarity. Its just luck if you get a working SDK up and running with Ubuntu. Is it not possible to just give the instructions to see if this is a path issue? Someone just needs to tell me what values should be in my PATH. I am trying to run AZURE Core Tools, Azure CLI, Dotnet CLI and Dev Kit. Can someone give me a script to run to check required values? What I dont understand is that there are errors being reported by the C# Dev Kit but no one seems to be acting on those errors. Surely if known error diagnostics are being reported, it should be fairly straight forward to identify the cause?

timheuer commented 3 months ago

@wgrs we definitely can always improve our logging/insights, but unfortunately what you're reporting isn't what I would consider consistent so it feels more unique. The extension requires (as of now, but this is rapidly changing) .NET 7 runtime to run. If that doesn't exist the extension attempts to resolve that by acquiring/installing the required dependency. If the environment has a different installation path for DOTNET_ROOT locations, etc. that may cause issues.

I think at this point it is best to see if we can literally setup a call with you and see rather than wait back/forth. I'm asking the team to help here for you. (I'm unfortunately 'out' right now for the week)

wgrs commented 3 months ago

@timheuer But as I mentioned previously, I dont have the .NET 7 runtime installed. I have never been able to even get Ubuntu to recognise more than one SDK or runtime . Once again, the documentation doesnt seem to highlight this issue.

dotnet --list-runtimes Microsoft.AspNetCore.App 8.0.1 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 8.0.1 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]

timheuer commented 3 months ago

This is where some of the confusion in terminology -- you don't need the .NET 7 SDK you need the .NET 7 runtime -- your output tells me that it is not there...that would be something I'd try to resolve...we need the .NET 7 runtime to be there.

I don't know if the distro you are using has v7 in the package manager, likely not. So you could install using the scripts: https://learn.microsoft.com/en-us/dotnet/core/install/linux-scripted-manual#scripted-install

./dotnet-install.sh --channel 7.0 --runtime dotnet

should be the right command

lifengl commented 3 months ago

Hey, @wgrs ,

I noticed that you had set DOTNET_ROOT to a different location than the SDK and runtime used by dotnet command. This is unusual. It is possible valid for a developer who is using ARM SDK/Runtime for the tooling, but builds x64 binaries, and wants to run tests with x64 runtime. To get those environments to work, you will have to align runtimes and what your project targets carefully. For most users, it is more likely a choice to shot own foot. There are also tons of other environment variables to control dotnet runtime behaviors, and leads into strange issues, if they are not used correctly.

Generally, the development tool would just leave them as it is, as it might be useful for some developers under certain conditions.

I would suggest you to remove DOTNET_ROOT from your environment and try your scenario again.

============ .NET SDKs installed: 8.0.100 [/usr/lib/dotnet/sdk]

.NET runtimes installed: Microsoft.AspNetCore.App 8.0.0 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 8.0.0 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]

Other architectures found: None

Environment variables: DOTNET_ROOT [$~/.dotnet]

wgrs commented 3 months ago

@lifengl Thanks for the response. Yes, I removed the ROOT statement many months ago. That has not helped the issue with the Dev Kit

wgrs commented 3 months ago

@timheuer ./dotnet-install.sh --channel 7.0 --runtime dotnet dotnet-install: .NET Core Runtime with version '7.0.15' is already installed.

dotnet --list-runtimes Microsoft.AspNetCore.App 8.0.1 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 8.0.1 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]

dotnet --info .NET SDK: Version: 8.0.101 Commit: 6eceda187b Workload version: 8.0.100-manifests.0fc1a5fa

Runtime Environment: OS Name: ubuntu OS Version: 23.10 OS Platform: Linux RID: ubuntu.23.10-x64 Base Path: /usr/lib/dotnet/sdk/8.0.101/

.NET workloads installed: Workload version: 8.0.100-manifests.0fc1a5fa [aspire] Installation Source: SDK 8.0.100 Manifest Version: 8.0.0-preview.2.23619.3/8.0.100 Manifest Path: /home/greg/.dotnet/sdk-manifests/8.0.100/microsoft.net.sdk.aspire/8.0.0-preview.2.23619.3/WorkloadManifest.json Install Type: FileBased

Host: Version: 8.0.1 Architecture: x64 Commit: bf5e279d92

.NET SDKs installed: 8.0.101 [/usr/lib/dotnet/sdk]

.NET runtimes installed: Microsoft.AspNetCore.App 8.0.1 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 8.0.1 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]

Make sense of that

wgrs commented 3 months ago

@timheuer Added the Dev Kit back. Added a new blazor project - Ran the project. Dev Kit breaks .

Inline Completions document change subscription registered. Initializing IntelliCode Inline Completions [Completions][2]: Completions worker with process id 7076 has been created Inline Completions Initialized [Completions][2]: [Child process] Worker with pid 7076 has started [Completions][2]: [Child process] Requested setting state for intellicode-completions.internal.defaultConfidenceThreshold = 0.39 (default is 0.39) [Completions][2]: [Child process] Requested setting state for intellicode-completions.internal.defaultConfidenceThreshold = 0.39 (default is 0.39) [Completions][2]: [Child process] Requested setting state for intellicode-completions.internal.defaultConfidenceThreshold = 0.39 (default is 0.39) [Completions][2]: [Child process] Requested setting state for intellicode-completions.internal.defaultConfidenceThreshold = 0.39 (default is 0.39) [Completions][2]: [Child process] Requested setting state for intellicode-completions.internal.defaultConfidenceThreshold = 0.39 (default is 0.39) [Completions][2]: [Child process] Requested setting state for intellicode-completions.internal.defaultConfidenceThreshold = 0.39 (default is 0.39) [Completions][2]: [Child process] Requested setting state for intellicode-completions.internal.defaultConfidenceThreshold = 0.39 (default is 0.39) [Completions][4]: [Child process] Unhandled rejection error: Failed to parse URL from /home/greg/.vscode/extensions/ms-dotnettools.vscodeintellicode-csharp-0.1.26-linux-x64/dist/node_modules/@vsintellicode/completions-csharp/tree-sitter.wasm [Completions][4]: [Child process] Unhandled rejection error stack: TypeError: Failed to parse URL from /home/greg/.vscode/extensions/ms-dotnettools.vscodeintellicode-csharp-0.1.26-linux-x64/dist/node_modules/@vsintellicode/completions-csharp/tree-sitter.wasm at Object.fetch (node:internal/deps/undici/undici:11576:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) [Completions][4]: [Child process] Unhandled rejection error: Failed to parse URL from /home/greg/.vscode/extensions/ms-dotnettools.vscodeintellicode-csharp-0.1.26-linux-x64/dist/node_modules/@vsintellicode/completions-csharp/blingfire.wasm [Completions][4]: [Child process] Unhandled rejection error stack: TypeError: Failed to parse URL from /home/greg/.vscode/extensions/ms-dotnettools.vscodeintellicode-csharp-0.1.26-linux-x64/dist/node_modules/@vsintellicode/completions-csharp/blingfire.wasm at Object.fetch (node:internal/deps/undici/undici:11576:11) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

lifengl commented 3 months ago

@Farenheith you are talking about a completely different issue. if your workspace contains more than one solution file, the extension would not know which one you prefer to use, so you need pick up one. the extension would preserve the selection, so you may see different behaviors later (which will open the solution you selected earlier).

Note: when you have deep disk structure, or a slow disk/machine, sometime the extension might not detect the solution and be activated automatically, because VS code has a time cap to trigger an extension to be loaded(which is set if it finds any .csproj file). Under that condition, you can always open the solution manually, or open a .cs file, which will trigger the extension to load.

Hello guys! I'm having the same issue, but I'm working on WSL. C# Dev Kit is working with project I've created for a Nuget package (.netstandard 2.0), but it's not working with a API solution. Here I have the console output: As I'm on windows, though, I have the possibility to open the project outside WSL, and when I do that, something different happens: a popup appears asking me which solution I want to use for intellissense (as I have two in this folder). This popup doesn't appear when I'm on WSL, and I suspect this is the origin of the issue, because after I selected the solution, intelissense started to work. Also, the command .NET Open Solution successfully detects the existing solution when I'm opening the copy outside WSL, but it does not in the copy inside. So... maybe this is a sln detection problem with vscode running on linux?

Edit: The .netstandard project only have one solution, and it's working. And I also had some random sln files dropping on my folder when I open it with WSL

Edit2: I've just realized the I was opening the .netstandard project outside WSL, when I opened it on WSL, it had the same problem as the other one

Farenheith commented 3 months ago

@Farenheith you are talking about a completely different issue. if your workspace contains more than one solution file, the extension would not know which one you prefer to use,

It's actually the same issue because the pop-up doesn't show up to choose which solution to use, and I also simulated it with one solution only. It also doesn't work to run the command to select a solution through vscode, it doesn't work on wsl, just when I'm on windows

lifengl commented 3 months ago

The output from dotnet --info looks fine. As you only have NET 8 SDK now, i assume the extension would download a version of NET 7 runtime, but it seems to work, except the bridge between the DevKit and the C# extension might run into problems. As the first extension extracts data from projects, and the second one drives the language service.

At this point, I think we need take a look more detailed extension log files. The way to get those files are quite different if your VS Code is running inside Linux directly, or you work on WSL.

My understanding is that this is a pure Linux box? in that case, you may use vscode command "Open Extensions log file", drill into ms-dotnettools.csdevkit/ServiceHub folder, which should contain many files. The first one might be interesting is named like

-Microsoft.VisualStudio.ProjectSystem.CompositionService--*-1.log

Let's check that file before moving to others.

If you are using WSL, it would take further steps to get to the log folder. It is somewhere deep in your $HOME directory, searching with the file name pattern would help to find it.

@timheuer ./dotnet-install.sh --channel 7.0 --runtime dotnet dotnet-install: .NET Core Runtime with version '7.0.15' is already installed.

dotnet --list-runtimes Microsoft.AspNetCore.App 8.0.1 [/usr/lib/dotnet/shared/Microsoft.AspNetCore.App] Microsoft.NETCore.App 8.0.1 [/usr/lib/dotnet/shared/Microsoft.NETCore.App]

dotnet --info .NET SDK: Version: 8.0.101 Commit: 6eceda187b Workload version: 8.0.100-manifests.0fc1a5fa

Runtime Environment: OS Name: ubuntu OS Version: 23.10 OS Platform: Linux RID: ubuntu.23.10-x64 Base Path: /usr/lib/dotnet/sdk/8.0.101/

lifengl commented 3 months ago

BTW, there is a Projects.log in the parent folder of the ServiceHub log, which might contain something useful, if anything wrong during processing the project. (That will be the same as 'Projects' tab in the vscode output panel.)

wgrs commented 3 months ago

@lifengl - I installed the .Net runtime as @timheuer suggested. Then I retested. The ext did not download the .NET 7 runtime. I did that manually. So it is installed now. See the post to Tim.

@timheuer ./dotnet-install.sh --channel 7.0 --runtime dotnet dotnet-install: .NET Core Runtime with version '7.0.15' is already installed.

However, its hard to tell if its installed correctly because the commands that are supposed to list the SDKs and Runtimes are giving false information on Linux. Its saying its NOT installed but it is. Once again, I mention the path issues that were prevalent in .Net 7.

I did post the Projects output and its reporting no errors.

The machine is pure Ubuntu. Not WSL. I will try and post that file.

wgrs commented 3 months ago

@lifengl - Found the file : Microsoft.VisualStudio.ProjectSystem.CompositionService--*-1.log

02/07/2024 23:24:42 Central European Standard Time : Information : Local timezone is (UTC+01:00) Central European Time (Paris) 02/07/2024 23:24:42 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.CompositionService read: ��/+��jsonrpc�2.0�id�method�initialize�params� 02/07/2024 23:24:42 Central European Standard Time : Information : ProjectSystem server process started. PID=4237. Runtime=8.0.1 02/07/2024 23:24:42 Central European Standard Time: Information : 4237 :ProjectSystemDependencyLoader initialized 02/07/2024 23:24:42 Central European Standard Time: Information : 4237 :SDK Resolver is started. 02/07/2024 23:24:43 Central European Standard Time: Information : 4237 :PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/home/greg/.dotnet/tools:/home/greg/.dotnet/tools 02/07/2024 23:24:43 Central European Standard Time: Information : 4237 :DOTNET_ROOT=/usr/lib/dotnet 02/07/2024 23:24:43 Central European Standard Time: Information : 4237 :DOTNET_ROOT_USER=EMPTY 02/07/2024 23:24:43 Central European Standard Time: Information : 4237 :BUILD_HOST_RPC=/home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/CPS/platforms/linux-x64/node_modules/@microsoft/visualstudio-projectsystem-buildhost-rpc.linux-x64 02/07/2024 23:24:43 Central European Standard Time: Information : 4237 :PRJ_BUILD_DOTNET_HOST=/usr/lib/dotnet/dotnet 02/07/2024 23:24:43 Central European Standard Time: Information : 4237 :Start BuildHost process 02/07/2024 23:24:43 Central European Standard Time: Information : 4237 :PID=4358 CMD=/usr/lib/dotnet/dotnet /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/CPS/platforms/linux-x64/node_modules/@microsoft/visualstudio-projectsystem-buildhost.linux-x64/Microsoft.VisualStudio.ProjectSystem.Server.BuildHost.dll 02/07/2024 23:24:43 Central European Standard Time: Information : 4237 :Connect to EnvironmentService. 02/07/2024 23:24:43 Central European Standard Time : Information : Added local RPC method "initialize" -> Microsoft.VisualStudio.ProjectSystem.Server.CompositionServiceFactory+CompositionService.InitializeAsync(CancellationToken) (Microsoft.VisualStudio.ProjectSystem.Server.CompositionServiceFactory+CompositionService) 02/07/2024 23:24:43 Central European Standard Time : Information : Added local RPC method "initialize" -> Microsoft.VisualStudio.ProjectSystem.Server.CompositionServiceFactory+CompositionService.InitializeAsync(CancellationToken) (Microsoft.VisualStudio.ProjectSystem.Server.CompositionServiceFactory+CompositionService) 02/07/2024 23:24:43 Central European Standard Time: Information : 3 :Listening started. 02/07/2024 23:24:43 Central European Standard Time: Information : 7 :{"id":2,"method":"initialize"} 02/07/2024 23:24:43 Central European Standard Time: Information : 6 :Received request "2" for method "initialize". 02/07/2024 23:24:43 Central European Standard Time: Information : 9 :Invoking Microsoft.VisualStudio.ProjectSystem.Server.CompositionServiceFactory+CompositionService.InitializeAsync(CancellationToken) 02/07/2024 23:24:43 Central European Standard Time : Start : initialize 02/07/2024 23:24:43 Central European Standard Time : Stop : initialize 02/07/2024 23:24:43 Central European Standard Time: Information : 8 :{"id":2} 02/07/2024 23:24:43 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.CompositionService write: ����jsonrpc�2.0�id�result� 02/07/2024 23:24:43 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.CompositionService read: � 02/07/2024 23:24:43 Central European Standard Time: Information : 13 :Connection closing (RemotePartyTerminated: Reached end of stream.). 02/07/2024 23:24:43 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.CompositionService write: � 02/07/2024 23:24:43 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.CompositionService read: end of stream 02/07/2024 23:24:43 Central European Standard Time : Information : Waiting for 'Microsoft.VisualStudio.ProjectSystem.CompositionService' instance to complete its completionTask. 02/07/2024 23:24:43 Central European Standard Time : Information : Disposed 'Microsoft.VisualStudio.ProjectSystem.CompositionService' via 'completionTask' method. 02/07/2024 23:24:43 Central European Standard Time : Information : Finishing shutting down service: Microsoft.VisualStudio.ProjectSystem.CompositionService. 02/07/2024 23:24:44 Central European Standard Time: Information : 4237 :Use MsBuild binaries from SDK. 02/07/2024 23:24:44 Central European Standard Time: Information : 4237 :Initialize Project System Server MEF Composition. CachePath='/home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/cache'. Assemblies: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/CPS/platforms/linux-x64/node_modules/@microsoft/visualstudio-projectsystem-server.linux-x64/Microsoft.VisualStudio.ProjectServices.dll, /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/CPS/platforms/linux-x64/node_modules/@microsoft/visualstudio-projectsystem-server.linux-x64/Microsoft.VisualStudio.ProjectSystem.Implementation.dll, /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/CPS/platforms/linux-x64/node_modules/@microsoft/visualstudio-projectsystem-server.linux-x64/Microsoft.VisualStudio.ProjectSystem.Server.Implementation.dll, /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system/node_modules/@microsoft/microsoft.visualstudio.projectsystem.managed/Microsoft.VisualStudio.ProjectSystem.Managed.dll, /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/Microsoft.VisualStudio.ProjectSystem.Managed.VSCode.dll 02/07/2024 23:24:44 Central European Standard Time: Error : 4237 :!!Resolve NET Core SDK: Successful:/usr/lib/dotnet/sdk/8.0.101

02/07/2024 23:24:44 Central European Standard Time: Information : 4237 :Initialize MEF composition inside project system server. 02/07/2024 23:24:45 Central European Standard Time: Information : 4237 :Initialize Project System Server Packages 02/07/2024 23:24:45 Central European Standard Time: Information : 4237 :Initialize Project System Server Packages Completed. 02/07/2024 23:24:45 Central European Standard Time: Information : 4237 :Postpone loading process during NuGet restore. 02/07/2024 23:24:45 Central European Standard Time: Information : 4237 :Postpone loading process during NuGet restore. 02/07/2024 23:24:45 Central European Standard Time: Information : 4237 :Initial EnvironmentState received. 43ms. 02/07/2024 23:24:46 Central European Standard Time: Information : 4237 :Resume loading process after NuGet restore. 02/07/2024 23:24:46 Central European Standard Time: Information : 4237 :Resume loading process after NuGet restore. 02/07/2024 23:24:46 Central European Standard Time: Information : 4237 :NuGet restore task finished. 02/07/2024 23:24:46 Central European Standard Time: Information : 4237 :SDK folder is resolved to '/usr/lib/dotnet/sdk/8.0.101' based on path '/home/greg/Dev/Sandbox/FSBO_MVP_1. 02/07/2024 23:24:46 Central European Standard Time: Information : 4237 :Initialize Project System Service. 266ms. 02/07/2024 23:24:46 Central European Standard Time: Information : 4237 :Creating new ConfiguredProject - Name Debug|AnyCPU - for project /home/greg/Dev/Sandbox/FSBO_MVP_1/FSBO_MVP_1.csproj 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/Compile.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/Content.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/EmbeddedResource.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/Folder.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/None.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/Resource.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/PackageVersion.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/EditorConfigFiles.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /usr/lib/dotnet/sdk/8.0.101/Sdks/Microsoft.NET.Sdk.Razor/targets/Rules/RazorConfiguration.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /usr/lib/dotnet/sdk/8.0.101/Sdks/Microsoft.NET.Sdk.Razor/targets/Rules/RazorExtension.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/ProjectItemsSchema.CSharp.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/GeneralConfiguredBrowseObject.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/ResolvedAssemblyReference.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/ResolvedCOMReference.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/ResolvedFrameworkReference.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/ResolvedProjectReference.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/SdkReference.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/ResolvedSdkReference.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/PackageReference.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/ResolvedPackageReference.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/AnalyzerReference.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/ResolvedAnalyzerReference.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/ProjectItemsSchema.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/DebuggerGeneral.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/ApplicationPropertyPage.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/BuildPropertyPage.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/CodeAnalysisPropertyPage.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/ConfigurationGeneralPage.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/DebugPropertyPage.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/SettingsPropertyPage.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/ResourcesPropertyPage.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/PackagePropertyPage.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/ExecutableDebugPropertyPage.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/ProjectDebugPropertyPage.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/ProjectDebugger.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/SdkSupportedTargetPlatformIdentifier.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/SdkSupportedTargetPlatformVersion.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/SupportedTargetFrameworkAlias.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/SupportedNETCoreAppTargetFramework.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/SupportedNETStandardTargetFramework.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/SupportedNETFrameworkTargetFramework.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/AssemblyReference.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/COMReference.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/FrameworkReference.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/ProjectReference.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/ApplicationPropertyPage.CSharp.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/BuildPropertyPage.CSharp.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/ReferencesPage.CSharp.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /usr/lib/dotnet/sdk/8.0.101/Sdks/Microsoft.NET.Sdk.Razor/targets/Rules/RazorGeneral.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /usr/lib/dotnet/sdk/8.0.101/Sdks/Microsoft.NET.Sdk.Razor/targets/Rules/RazorGenerateWithTargetPath.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /usr/lib/dotnet/sdk/8.0.101/Sdks/Microsoft.NET.Sdk.Razor/targets/Rules/RazorComponentWithTargetPath.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/Compile.BrowseObject.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/Resource.BrowseObject.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/Content.BrowseObject.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/EmbeddedResource.BrowseObject.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/None.BrowseObject.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/GeneralBrowseObject.xaml 02/07/2024 23:24:48 Central European Standard Time: Information : 4237 :Loading schema file: /home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/dotnet-project-system-vscode/node_modules/@microsoft/vscode.projectsystem.managed/DesignTimeTargets/EditorConfigFiles.BrowseObject.xaml 02/07/2024 23:24:49 Central European Standard Time: Information : 4237 :Load project '/home/greg/Dev/Sandbox/FSBO_MVP_1/FSBO_MVP_1.csproj'. 3068ms. 02/07/2024 23:24:49 Central European Standard Time: Information : 4237 :1 projects loaded in 3078ms. 02/07/2024 23:24:49 Central European Standard Time: Information : 4357179 :Query subscription collected 0 items for Select Workspace.Projects (Id Name Path Guid ActiveConfigurations). Version:{ , "ProjectsStateUpdates:Version" : 0, "CpsProject:0:FSBO_MVP_1.Debug|AnyCPU" : 0, "Workspace:Version" : 1 } 02/07/2024 23:24:57 Central European Standard Time: Information : 4237 :DesignTimeBuildManagerService: Build Results Success: FromCache: False ResetId: 0 Results: (CollectFrameworkReferences Success)(CompileDesignTime Success)(NETStandardCompatError_Microsoft_Extensions_Configuration_Binder Success)(CollectPackageReferences Success)(CollectCentralPackageVersions Success)(CollectPackageDownloads Success) - for project /home/greg/Dev/Sandbox/FSBO_MVP_1/FSBO_MVP_1.csproj:Debug|AnyCPU 02/07/2024 23:25:00 Central European Standard Time: Information : 4237 :Project system background process finished for environment version 1

lifengl commented 3 months ago

C# Dev Kit uses a different extension to install NET 7 runtime. An alternative way is to install one later NET 7 SDK along with NET 8 SDK, which would allow it to reuse the runtime. But it seems that the extension does load, so I assume your installation worked.

the logging posted here indicates the project system did get language service information. It should be sent to the other extension through a JSON RPC, which sounds an area to take a look.

Now, in the same logging folder, you might see a few logging files like: -VsHubClient--*-1.log

can we take a look the content of that log file? It would tell whether the DevKit tried to connect to the other side.

lifengl commented 3 months ago

well, @wgrs has no problem to open the solution, and see files inside the solution explorer. It is the language service broken. There is nothing related to pop up to open solution. BTW, when you work with WSL, I guess you are using the vs-code WSL remote extension, established a remote connection and opened the workspace from the remote side, right? I just want to make sure that you didn't open the workspace through a remote file share directly, which, for sure, will give you a poor and broken experience.

When working with the remote WSL, you would be promoted to install the C#/C# DevKit on the remote side, and would download/install the Linux version of the extension, instead of using the local Windows version extension.

It's actually the same issue because the pop-up doesn't show up to choose which solution to use, and I also simulated it with one solution only. It also doesn't work to run the command to select a solution through vscode, it doesn't work on wsl, just when I'm on windows

Farenheith commented 3 months ago

@lifengl I'm working with remote wsl and I've installed dev kit on the remote side. I'm not talking about seeing the solution on the solution explorer. I've just noticed that, when opening on windows a project with multiple solutions, the extension asks automatically which one must be used for intellissense purpose. The fact the extension doesn't inquire it when running on wsl is probably because the language service is broken. It just happened that, on windows, while I don't choose the solution to be used in the former example, the behavior is exactly the same when opening the project on wsl: no intelissense. So, I've figured the extension is not being able to load the solution to offer intellissense for some reason, which you guys already found out: broken language server.

Also, I suppose that if I was opening the project through a remote file share I would have a poor experience indeed, but the language server would probably be working, as I would not be running vscode on the wsl instance for real.

The only thing not clear to me is the reason why using dev containers, with one of the official MS images for c#, everything works as expected. I also created my own image combining the official ones for .net 6, 7 and 8, and I'm able to maintain .net projects in any of those versions with it. As I'm on windows, it would not be even necessary, but some people at my company are using Macs and it was the only way they could contribute with our .netcore solutions

wgrs commented 3 months ago

@lifengl Here is the VsHubClient file

02/07/2024 10:19:57 Central European Standard Time : Information : Local timezone is (UTC+01:00) Central European Time (Paris) 02/07/2024 10:20:00 Central European Standard Time : Information : VsHubClient-hubController write: Content-Length: 108

{"jsonrpc":"2.0","id":2,"method":"UpdateClientInfoAsync","params":[{"clientName":"VsHubClient","pid":2967}]} 02/07/2024 10:20:00 Central European Standard Time : Information : VsHubClient-hubController read: Content-Length: 430

{"jsonrpc":"2.0","id":2,"result":{"ClientWatchServerName":"net.pipe://3020A59231","ControllerConfig":{"Executable":"/home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/vs-green-server/platforms/linux-x64/node_modules/@microsoft/servicehub-controller-net60.linux-x64/Microsoft.ServiceHub.Controller","Args":["162ad65630"],"PipeName":"162ad65630"},"HostsConfig":{"RootDir":".","AppConfigFallback":""}}} 02/07/2024 10:20:00 Central European Standard Time : Information : Connected to Hub Controller's client watch 'net.pipe://3020A59231 02/07/2024 10:20:02 Central European Standard Time : Information : VsHubClient-hubController write: Content-Length: 1344

{"jsonrpc":"2.0","id":3,"method":"requestServiceChannel","params":[{"Name":"Microsoft.VisualStudio.ProjectSystem.ProjectTreeProvider","Version":"0.1"},{"ActivationArguments":{"servicehubServiceModuleInfo":"{\"name\":null,\"host\":\"dotnet.projectSystem\",\"hostId\":\"C94B8CFE-E3FD-4BAF-A941-2866DBB566FE\",\"serviceBaseDirectory\":\"/home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/CPS/platforms/linux-x64/node_modules/@microsoft/visualstudio-projectsystem-server.linux-x64\",\"entryPoint\":{\"assemblyPath\":\"/home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/CPS/platforms/linux-x64/node_modules/@microsoft/visualstudio-projectsystem-server.linux-x64/Microsoft.VisualStudio.ProjectSystem.Server.Implementation.dll\",\"fullClassName\":\"Microsoft.VisualStudio.ProjectSystem.Server.ProjectTreeProviderFactory\",\"scriptPath\":null,\"constructorFunction\":null,\"configPath\":null,\"appBasePath\":null,\"assemblySearchPathsConfig\":null},\"hostGroupAllowed\":null,\"hostGroupId\":null,\"serviceOverride\":null,\"singleDomainLoaderOptimization\":null,\"versionRange\":null,\"friendServices\":null}","servicehubServiceHubRemoteServiceBrokerPipeName":"/home/greg/.ServiceHub/162ad65630/7ff119791c"},"ClientCredentials":{},"ClientCulture":"en-GB","ClientUICulture":"en-GB"}]} 02/07/2024 10:20:02 Central European Standard Time : Information : VsHubClient-hubController write: Content-Length: 1351

{"jsonrpc":"2.0","id":4,"method":"requestServiceChannel","params":[{"Name":"Microsoft.VisualStudio.TestWindow.VSCode.Service","Version":"0.1"},{"ActivationArguments":{"servicehubServiceModuleInfo":"{\"name\":null,\"host\":\"dotnet\",\"hostId\":\"C94B8CFE-E3FD-4BAF-A941-2866DBB566FE\",\"serviceBaseDirectory\":\"/home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/VSUnitTesting/platforms/linux-x64/node_modules/@microsoft/visualstudio-testwindow-vscode-service.linux-x64\",\"entryPoint\":{\"assemblyPath\":\"/home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/VSUnitTesting/platforms/linux-x64/node_modules/@microsoft/visualstudio-testwindow-vscode-service.linux-x64/Microsoft.VisualStudio.TestWindow.VSCode.Service.dll\",\"fullClassName\":\"Microsoft.VisualStudio.TestWindow.VSCode.Service.TestWindowVSCodeServiceFactory\",\"scriptPath\":null,\"constructorFunction\":null,\"configPath\":null,\"appBasePath\":null,\"assemblySearchPathsConfig\":null},\"hostGroupAllowed\":null,\"hostGroupId\":null,\"serviceOverride\":null,\"singleDomainLoaderOptimization\":null,\"versionRange\":null,\"friendServices\":null}","servicehubServiceHubRemoteServiceBrokerPipeName":"/home/greg/.ServiceHub/162ad65630/c08d30e083"},"ClientCredentials":{},"ClientCulture":"en-GB","ClientUICulture":"en-GB"}]} 02/07/2024 10:20:02 Central European Standard Time : Information : VsHubClient-hubController write: Content-Length: 1328

{"jsonrpc":"2.0","id":5,"method":"requestServiceChannel","params":[{"Name":"Microsoft.VisualStudio.LaunchConfigurationService"},{"ActivationArguments":{"servicehubServiceModuleInfo":"{\"name\":null,\"host\":\"dotnet.projectSystem\",\"hostId\":\"C94B8CFE-E3FD-4BAF-A941-2866DBB566FE\",\"serviceBaseDirectory\":\"/home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/CPS/platforms/linux-x64/node_modules/@microsoft/visualstudio-projectsystem-server.linux-x64\",\"entryPoint\":{\"assemblyPath\":\"/home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/CPS/platforms/linux-x64/node_modules/@microsoft/visualstudio-projectsystem-server.linux-x64/Microsoft.VisualStudio.ProjectSystem.Server.Implementation.dll\",\"fullClassName\":\"Microsoft.VisualStudio.ProjectSystem.Server.LaunchConfigurationServiceFactory\",\"scriptPath\":null,\"constructorFunction\":null,\"configPath\":null,\"appBasePath\":null,\"assemblySearchPathsConfig\":null},\"hostGroupAllowed\":null,\"hostGroupId\":null,\"serviceOverride\":null,\"singleDomainLoaderOptimization\":null,\"versionRange\":null,\"friendServices\":null}","servicehubServiceHubRemoteServiceBrokerPipeName":"/home/greg/.ServiceHub/162ad65630/8b24976c00"},"ClientCredentials":{},"ClientCulture":"en-GB","ClientUICulture":"en-GB"}]} 02/07/2024 10:20:02 Central European Standard Time : Information : VsHubClient-hubController write: Content-Length: 1374

{"jsonrpc":"2.0","id":6,"method":"requestServiceChannel","params":[{"Name":"Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService","Version":"0.1"},{"ActivationArguments":{"servicehubServiceModuleInfo":"{\"name\":null,\"host\":\"dotnet.projectSystem\",\"hostId\":\"C94B8CFE-E3FD-4BAF-A941-2866DBB566FE\",\"serviceBaseDirectory\":\"/home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/CPS/platforms/linux-x64/node_modules/@microsoft/visualstudio-projectsystem-server.linux-x64\",\"entryPoint\":{\"assemblyPath\":\"/home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/CPS/platforms/linux-x64/node_modules/@microsoft/visualstudio-projectsystem-server.linux-x64/Microsoft.VisualStudio.ProjectSystem.Server.Implementation.dll\",\"fullClassName\":\"Microsoft.VisualStudio.ProjectSystem.Server.ProjectInitializationStatusServiceFactory\",\"scriptPath\":null,\"constructorFunction\":null,\"configPath\":null,\"appBasePath\":null,\"assemblySearchPathsConfig\":null},\"hostGroupAllowed\":null,\"hostGroupId\":null,\"serviceOverride\":null,\"singleDomainLoaderOptimization\":null,\"versionRange\":null,\"friendServices\":null}","servicehubServiceHubRemoteServiceBrokerPipeName":"/home/greg/.ServiceHub/162ad65630/0ebcf7b5e9"},"ClientCredentials":{},"ClientCulture":"en-GB","ClientUICulture":"en-GB"}]} 02/07/2024 10:20:05 Central European Standard Time : Information : VsHubClient-hubController read: Content-Length: 160

{"jsonrpc":"2.0","id":6,"result":{"RequestId":"407afbd9-5b78-421d-9705-bda240b983b0","PipeName":"/home/greg/.ServiceHub/162ad65630/838e3953de","IsEmpty":false}}Content-Length: 160

{"jsonrpc":"2.0","id":5,"result":{"RequestId":"1163a936-87d6-498f-9305-b479de529aee","PipeName":"/home/greg/.ServiceHub/162ad65630/c6febfc086","IsEmpty":false}} 02/07/2024 10:20:05 Central European Standard Time : Information : VsHubClient-hubController read: Content-Length: 160

{"jsonrpc":"2.0","id":3,"result":{"RequestId":"a06f1ff2-a1b9-4604-9e34-fa5a7f6c1166","PipeName":"/home/greg/.ServiceHub/162ad65630/3cc1ce4da6","IsEmpty":false}} 02/07/2024 10:20:05 Central European Standard Time : Information : VsHubClient-hubController read: Content-Length: 160

{"jsonrpc":"2.0","id":4,"result":{"RequestId":"03d04c95-d169-49ca-b8c4-27f7bd81b50a","PipeName":"/home/greg/.ServiceHub/162ad65630/252ac3bacd","IsEmpty":false}} 02/07/2024 10:20:05 Central European Standard Time : Information : Disposing ServiceBroker server '/home/greg/.ServiceHub/162ad65630/c08d30e083'. 02/07/2024 10:20:06 Central European Standard Time : Information : Disposing ServiceBroker server '/home/greg/.ServiceHub/162ad65630/8b24976c00'. 02/07/2024 10:20:06 Central European Standard Time : Information : Disposing ServiceBroker server '/home/greg/.ServiceHub/162ad65630/7ff119791c'. 02/07/2024 10:20:06 Central European Standard Time : Information : Disposing ServiceBroker server '/home/greg/.ServiceHub/162ad65630/0ebcf7b5e9'. 02/07/2024 10:20:06 Central European Standard Time : Information : Microsoft.VisualStudio.TestWindow.VSCode.Service-RemoteServiceBrokerServer read: Content-Length: 194

{"jsonrpc":"2.0","id":2,"method":"handshake","params":[{"supportedConnections":"IpcPipe","localServiceHost":{"operatingSystem":1,"processArchitecture":1,"runtime":2,"runtimeVersion":"7.0.15"}}]} 02/07/2024 10:20:06 Central European Standard Time : Information : Microsoft.VisualStudio.TestWindow.VSCode.Service-RemoteServiceBrokerServer write: Content-Length: 38

{"jsonrpc":"2.0","id":2,"result":null} 02/07/2024 10:20:06 Central European Standard Time : Information : Microsoft.VisualStudio.LaunchConfigurationService-RemoteServiceBrokerServer read: Content-Length: 193

{"jsonrpc":"2.0","id":2,"method":"handshake","params":[{"supportedConnections":"IpcPipe","localServiceHost":{"operatingSystem":1,"processArchitecture":1,"runtime":2,"runtimeVersion":"8.0.1"}}]} 02/07/2024 10:20:06 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.ProjectTreeProvider-RemoteServiceBrokerServer read: Content-Length: 193

{"jsonrpc":"2.0","id":2,"method":"handshake","params":[{"supportedConnections":"IpcPipe","localServiceHost":{"operatingSystem":1,"processArchitecture":1,"runtime":2,"runtimeVersion":"8.0.1"}}]} 02/07/2024 10:20:06 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService-RemoteServiceBrokerServer read: Content-Length: 193

{"jsonrpc":"2.0","id":2,"method":"handshake","params":[{"supportedConnections":"IpcPipe","localServiceHost":{"operatingSystem":1,"processArchitecture":1,"runtime":2,"runtimeVersion":"8.0.1"}}]} 02/07/2024 10:20:06 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService-RemoteServiceBrokerServer write: Content-Length: 38

{"jsonrpc":"2.0","id":2,"result":null} 02/07/2024 10:20:06 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.ProjectTreeProvider-RemoteServiceBrokerServer write: Content-Length: 38

{"jsonrpc":"2.0","id":2,"result":null} 02/07/2024 10:20:06 Central European Standard Time : Information : Microsoft.VisualStudio.LaunchConfigurationService-RemoteServiceBrokerServer write: Content-Length: 38

{"jsonrpc":"2.0","id":2,"result":null} 02/07/2024 10:20:06 Central European Standard Time : Information : Microsoft.VisualStudio.TestWindow.VSCode.Service-RemoteServiceBrokerServer read: Content-Length: 183

{"jsonrpc":"2.0","id":3,"method":"requestServiceChannel","params":[{"name":"Microsoft.ServiceHub.Framework.AuthorizationService"},{"clientCulture":"en-GB","clientUICulture":"en-GB"}]} 02/07/2024 10:20:06 Central European Standard Time : Information : Microsoft.VisualStudio.TestWindow.VSCode.Service-RemoteServiceBrokerServer write: Content-Length: 137

{"jsonrpc":"2.0","id":3,"result":{"requestId":"cfa71045-3d19-4cf6-b4a0-267e66a5396f","pipeName":"/tmp/249f572b69484c8ca568a2792bdba580"}} 02/07/2024 10:20:07 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.ProjectTreeProvider-RemoteServiceBrokerServer read: Content-Length: 183

{"jsonrpc":"2.0","id":3,"method":"requestServiceChannel","params":[{"name":"Microsoft.ServiceHub.Framework.AuthorizationService"},{"clientCulture":"en-GB","clientUICulture":"en-GB"}]} 02/07/2024 10:20:07 Central European Standard Time : Information : Microsoft.VisualStudio.LaunchConfigurationService-RemoteServiceBrokerServer read: Content-Length: 183

{"jsonrpc":"2.0","id":3,"method":"requestServiceChannel","params":[{"name":"Microsoft.ServiceHub.Framework.AuthorizationService"},{"clientCulture":"en-GB","clientUICulture":"en-GB"}]} 02/07/2024 10:20:07 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService-RemoteServiceBrokerServer read: Content-Length: 183

{"jsonrpc":"2.0","id":3,"method":"requestServiceChannel","params":[{"name":"Microsoft.ServiceHub.Framework.AuthorizationService"},{"clientCulture":"en-GB","clientUICulture":"en-GB"}]} 02/07/2024 10:20:07 Central European Standard Time : Information : Microsoft.VisualStudio.LaunchConfigurationService-RemoteServiceBrokerServer write: Content-Length: 137

{"jsonrpc":"2.0","id":3,"result":{"requestId":"876d41ca-5475-4bba-9821-d23675f9c566","pipeName":"/tmp/20e17110bc844106a1d3100ed3ccab10"}} 02/07/2024 10:20:07 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.ProjectTreeProvider-RemoteServiceBrokerServer write: Content-Length: 137

{"jsonrpc":"2.0","id":3,"result":{"requestId":"f3b2bc3b-98e7-4281-b2b2-2b567e83cd02","pipeName":"/tmp/809d9c31f093404889b22c4ba87b58cf"}} 02/07/2024 10:20:07 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService-RemoteServiceBrokerServer write: Content-Length: 137

{"jsonrpc":"2.0","id":3,"result":{"requestId":"25c0a47f-9a3d-41c2-8d9d-be8a8a5de0b7","pipeName":"/tmp/6d775da3e2cc452a87695b1cb8a063c8"}} 02/07/2024 10:20:07 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService-RemoteServiceBrokerServer read: Content-Length: 203

{"jsonrpc":"2.0","id":4,"method":"requestServiceChannel","params":[{"name":"Microsoft.VisualStudio.ProjectSystem.CompositionService","version":"0.1"},{"clientCulture":"en-GB","clientUICulture":"en-GB"}]} 02/07/2024 10:20:07 Central European Standard Time : Information : VsHubClient-hubController write: Content-Length: 1342

{"jsonrpc":"2.0","id":7,"method":"requestServiceChannel","params":[{"Name":"Microsoft.VisualStudio.ProjectSystem.CompositionService","Version":"0.1"},{"ActivationArguments":{"servicehubServiceModuleInfo":"{\"name\":null,\"host\":\"dotnet.projectSystem\",\"hostId\":\"C94B8CFE-E3FD-4BAF-A941-2866DBB566FE\",\"serviceBaseDirectory\":\"/home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/CPS/platforms/linux-x64/node_modules/@microsoft/visualstudio-projectsystem-server.linux-x64\",\"entryPoint\":{\"assemblyPath\":\"/home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/CPS/platforms/linux-x64/node_modules/@microsoft/visualstudio-projectsystem-server.linux-x64/Microsoft.VisualStudio.ProjectSystem.Server.Implementation.dll\",\"fullClassName\":\"Microsoft.VisualStudio.ProjectSystem.Server.CompositionServiceFactory\",\"scriptPath\":null,\"constructorFunction\":null,\"configPath\":null,\"appBasePath\":null,\"assemblySearchPathsConfig\":null},\"hostGroupAllowed\":null,\"hostGroupId\":null,\"serviceOverride\":null,\"singleDomainLoaderOptimization\":null,\"versionRange\":null,\"friendServices\":null}","servicehubServiceHubRemoteServiceBrokerPipeName":"/home/greg/.ServiceHub/162ad65630/34e750a1c2"},"ClientCredentials":{},"ClientCulture":"en-GB","ClientUICulture":"en-GB"}]} 02/07/2024 10:20:07 Central European Standard Time : Information : VsHubClient-hubController read: Content-Length: 160

{"jsonrpc":"2.0","id":7,"result":{"RequestId":"9c810cce-b0f0-48c0-9ff7-f277af903404","PipeName":"/home/greg/.ServiceHub/162ad65630/f87c4d0191","IsEmpty":false}} 02/07/2024 10:20:07 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService-RemoteServiceBrokerServer write: Content-Length: 144

{"jsonrpc":"2.0","id":4,"result":{"requestId":"9c810cce-b0f0-48c0-9ff7-f277af903404","pipeName":"/home/greg/.ServiceHub/162ad65630/f87c4d0191"}} 02/07/2024 10:20:07 Central European Standard Time : Information : Disposing ServiceBroker server '/home/greg/.ServiceHub/162ad65630/34e750a1c2'. 02/07/2024 10:20:07 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.CompositionService-RemoteServiceBrokerServer read: Content-Length: 193

{"jsonrpc":"2.0","id":2,"method":"handshake","params":[{"supportedConnections":"IpcPipe","localServiceHost":{"operatingSystem":1,"processArchitecture":1,"runtime":2,"runtimeVersion":"8.0.1"}}]} 02/07/2024 10:20:07 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.CompositionService-RemoteServiceBrokerServer write: Content-Length: 38

{"jsonrpc":"2.0","id":2,"result":null} 02/07/2024 10:20:07 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.CompositionService-RemoteServiceBrokerServer read: Content-Length: 183

{"jsonrpc":"2.0","id":3,"method":"requestServiceChannel","params":[{"name":"Microsoft.ServiceHub.Framework.AuthorizationService"},{"clientCulture":"en-GB","clientUICulture":"en-GB"}]} 02/07/2024 10:20:07 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.CompositionService-RemoteServiceBrokerServer write: Content-Length: 137

{"jsonrpc":"2.0","id":3,"result":{"requestId":"e7a0e061-26c0-4b1d-82ea-548f03d427a9","pipeName":"/tmp/e6c9e5ede1f84904aa97dd7eb1581547"}} 02/07/2024 10:20:07 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.CompositionService-RemoteServiceBrokerServer read: Content-Length: 194

{"jsonrpc":"2.0","id":4,"method":"requestServiceChannel","params":[{"name":"Microsoft.VisualStudio.ComponentExportsService","version":"0.1"},{"clientCulture":"en-GB","clientUICulture":"en-GB"}]} 02/07/2024 10:20:07 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.CompositionService-RemoteServiceBrokerServer write: Content-Length: 137

{"jsonrpc":"2.0","id":4,"result":{"requestId":"7ffa9a09-4646-46d9-b0bd-9c3e78ba5ce3","pipeName":"/tmp/faf72e21854a46e2aba18702140e401e"}} 02/07/2024 10:20:07 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.CompositionService-RemoteServiceBrokerServer read: Content-Length: 197

{"jsonrpc":"2.0","id":5,"method":"requestServiceChannel","params":[{"name":"Microsoft.VisualStudio.NoDelay.EnvironmentService","version":"0.1"},{"clientCulture":"en-GB","clientUICulture":"en-GB"}]} 02/07/2024 10:20:07 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.CompositionService-RemoteServiceBrokerServer write: Content-Length: 137

{"jsonrpc":"2.0","id":5,"result":{"requestId":"6cb6c1ef-3174-48b2-ab15-6bbc244178c8","pipeName":"/tmp/e00cf653bf6c4d2a822f1d701905f1e2"}} 02/07/2024 10:20:08 Central European Standard Time : Information : VsHubClient-hubController write: Content-Length: 1400

{"jsonrpc":"2.0","id":8,"method":"requestServiceChannel","params":[{"Name":"Microsoft.VisualStudio.TestWindow.VSCode.ProjectSystemProvider.Service","Version":"0.1"},{"ActivationArguments":{"servicehubServiceModuleInfo":"{\"name\":null,\"host\":\"dotnet\",\"hostId\":\"C94B8CFE-E3FD-4BAF-A941-2866DBB566FE\",\"serviceBaseDirectory\":\"/home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/VSUnitTesting/platforms/linux-x64/node_modules/@microsoft/visualstudio-testwindow-vscode-service.linux-x64\",\"entryPoint\":{\"assemblyPath\":\"/home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/VSUnitTesting/platforms/linux-x64/node_modules/@microsoft/visualstudio-testwindow-vscode-service.linux-x64/Microsoft.VisualStudio.TestWindow.VSCode.Service.dll\",\"fullClassName\":\"Microsoft.VisualStudio.TestWindow.VSCode.ProjectSystemProvider.Service.ProjectSystemProviderServiceFactory\",\"scriptPath\":null,\"constructorFunction\":null,\"configPath\":null,\"appBasePath\":null,\"assemblySearchPathsConfig\":null},\"hostGroupAllowed\":null,\"hostGroupId\":null,\"serviceOverride\":null,\"singleDomainLoaderOptimization\":null,\"versionRange\":null,\"friendServices\":null}","servicehubServiceHubRemoteServiceBrokerPipeName":"/home/greg/.ServiceHub/162ad65630/23f711437f"},"ClientCredentials":{},"ClientCulture":"en-GB","ClientUICulture":"en-GB"}]} 02/07/2024 10:20:08 Central European Standard Time : Information : VsHubClient-hubController read: Content-Length: 160

{"jsonrpc":"2.0","id":8,"result":{"RequestId":"b5ef0893-89cc-48dc-bcd4-f13298d558da","PipeName":"/home/greg/.ServiceHub/162ad65630/75ff2f84dd","IsEmpty":false}} 02/07/2024 10:20:08 Central European Standard Time : Information : Disposing ServiceBroker server '/home/greg/.ServiceHub/162ad65630/23f711437f'. 02/07/2024 10:20:08 Central European Standard Time : Information : Microsoft.VisualStudio.TestWindow.VSCode.ProjectSystemProvider.Service-RemoteServiceBrokerServer read: Content-Length: 194

{"jsonrpc":"2.0","id":2,"method":"handshake","params":[{"supportedConnections":"IpcPipe","localServiceHost":{"operatingSystem":1,"processArchitecture":1,"runtime":2,"runtimeVersion":"7.0.15"}}]} 02/07/2024 10:20:08 Central European Standard Time : Information : Microsoft.VisualStudio.TestWindow.VSCode.ProjectSystemProvider.Service-RemoteServiceBrokerServer write: Content-Length: 38

{"jsonrpc":"2.0","id":2,"result":null} 02/07/2024 10:20:08 Central European Standard Time : Information : Microsoft.VisualStudio.TestWindow.VSCode.ProjectSystemProvider.Service-RemoteServiceBrokerServer read: Content-Length: 183

{"jsonrpc":"2.0","id":3,"method":"requestServiceChannel","params":[{"name":"Microsoft.ServiceHub.Framework.AuthorizationService"},{"clientCulture":"en-GB","clientUICulture":"en-GB"}]} 02/07/2024 10:20:08 Central European Standard Time : Information : Microsoft.VisualStudio.TestWindow.VSCode.ProjectSystemProvider.Service-RemoteServiceBrokerServer write: Content-Length: 137

{"jsonrpc":"2.0","id":3,"result":{"requestId":"bac0af05-eccd-4026-9562-84389d035b52","pipeName":"/tmp/8efc4e58aafc4a18805e5c0786a07d95"}} 02/07/2024 10:20:08 Central European Standard Time : Information : Microsoft.VisualStudio.TestWindow.VSCode.ProjectSystemProvider.Service-RemoteServiceBrokerServer read: Content-Length: 293

{"jsonrpc":"2.0","id":4,"method":"requestServiceChannel","params":[{"name":"Microsoft.VisualStudio.ProjectSystem.Query.Remoting.QueryExecutionService","version":"0.2"},{"clientCulture":"en-GB","clientUICulture":"en-GB"}],"traceparent":"00-102fa99f8c6f754cb2b6f5f8465b21ff-ca6912f44965f44b-00"} 02/07/2024 10:20:08 Central European Standard Time : Information : VsHubClient-hubController write: Content-Length: 1363

{"jsonrpc":"2.0","id":9,"method":"requestServiceChannel","params":[{"Name":"Microsoft.VisualStudio.ProjectSystem.Query.Remoting.QueryExecutionService","Version":"0.2"},{"ActivationArguments":{"servicehubServiceModuleInfo":"{\"name\":null,\"host\":\"dotnet.projectSystem\",\"hostId\":\"C94B8CFE-E3FD-4BAF-A941-2866DBB566FE\",\"serviceBaseDirectory\":\"/home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/CPS/platforms/linux-x64/node_modules/@microsoft/visualstudio-projectsystem-server.linux-x64\",\"entryPoint\":{\"assemblyPath\":\"/home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/CPS/platforms/linux-x64/node_modules/@microsoft/visualstudio-projectsystem-server.linux-x64/Microsoft.VisualStudio.ProjectSystem.Server.Implementation.dll\",\"fullClassName\":\"Microsoft.VisualStudio.ProjectSystem.Server.QueryExecutionServiceFactory\",\"scriptPath\":null,\"constructorFunction\":null,\"configPath\":null,\"appBasePath\":null,\"assemblySearchPathsConfig\":null},\"hostGroupAllowed\":null,\"hostGroupId\":null,\"serviceOverride\":null,\"singleDomainLoaderOptimization\":null,\"versionRange\":null,\"friendServices\":null}","servicehubServiceHubRemoteServiceBrokerPipeName":"/home/greg/.ServiceHub/162ad65630/6798a72c24"},"ClientCredentials":{},"ClientCulture":"en-GB","ClientUICulture":"en-GB"}]} 02/07/2024 10:20:08 Central European Standard Time : Information : VsHubClient-hubController read: Content-Length: 160

{"jsonrpc":"2.0","id":9,"result":{"RequestId":"54de1c20-1c5b-4375-9040-4b860a38d56a","PipeName":"/home/greg/.ServiceHub/162ad65630/c85192776c","IsEmpty":false}} 02/07/2024 10:20:08 Central European Standard Time : Information : Microsoft.VisualStudio.TestWindow.VSCode.ProjectSystemProvider.Service-RemoteServiceBrokerServer write: Content-Length: 144

{"jsonrpc":"2.0","id":4,"result":{"requestId":"54de1c20-1c5b-4375-9040-4b860a38d56a","pipeName":"/home/greg/.ServiceHub/162ad65630/c85192776c"}} 02/07/2024 10:20:08 Central European Standard Time : Information : Disposing ServiceBroker server '/home/greg/.ServiceHub/162ad65630/6798a72c24'. 02/07/2024 10:20:08 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.Query.Remoting.QueryExecutionService-RemoteServiceBrokerServer read: Content-Length: 193

{"jsonrpc":"2.0","id":2,"method":"handshake","params":[{"supportedConnections":"IpcPipe","localServiceHost":{"operatingSystem":1,"processArchitecture":1,"runtime":2,"runtimeVersion":"8.0.1"}}]} 02/07/2024 10:20:08 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.Query.Remoting.QueryExecutionService-RemoteServiceBrokerServer write: Content-Length: 38

{"jsonrpc":"2.0","id":2,"result":null} 02/07/2024 10:20:08 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.Query.Remoting.QueryExecutionService-RemoteServiceBrokerServer read: Content-Length: 183

{"jsonrpc":"2.0","id":3,"method":"requestServiceChannel","params":[{"name":"Microsoft.ServiceHub.Framework.AuthorizationService"},{"clientCulture":"en-GB","clientUICulture":"en-GB"}]} 02/07/2024 10:20:08 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.Query.Remoting.QueryExecutionService-RemoteServiceBrokerServer write: Content-Length: 137

{"jsonrpc":"2.0","id":3,"result":{"requestId":"8cd462c7-cdd6-4af0-9a1f-a4b517c0d809","pipeName":"/tmp/8d86e3153f504d308303d2962ef8a273"}} 02/07/2024 10:20:10 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.CompositionService-RemoteServiceBrokerServer read: Content-Length: 325

{"jsonrpc":"2.0","id":6,"method":"requestServiceChannel","params":[{"name":"Microsoft.VisualStudio.VsCodeFileWatcherService","version":"0.1"},{"activationArguments":{"globPattern":"**","ignoreCreateEvents":"False","ignoreChangeEvents":"False","ignoreDeleteEvents":"False"},"clientCulture":"en-GB","clientUICulture":"en-GB"}]} 02/07/2024 10:20:10 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.CompositionService-RemoteServiceBrokerServer write: Content-Length: 137

{"jsonrpc":"2.0","id":6,"result":{"requestId":"d3f3182d-2ba4-49c3-b428-9f82a6e9a529","pipeName":"/tmp/adf5981cb30a4631bb177a52483453e9"}} 02/07/2024 10:20:10 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.CompositionService-RemoteServiceBrokerServer read: Content-Length: 204

{"jsonrpc":"2.0","id":7,"method":"requestServiceChannel","params":[{"name":"Microsoft.VisualStudio.ActiveDocumentsInformationService","version":"0.1"},{"clientCulture":"en-GB","clientUICulture":"en-GB"}]} 02/07/2024 10:20:10 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.CompositionService-RemoteServiceBrokerServer write: Content-Length: 137

{"jsonrpc":"2.0","id":7,"result":{"requestId":"43963156-8ef1-459e-9d28-ef68e06d1d02","pipeName":"/tmp/24e3ce40eeea43379db7b4b4679c534c"}} 02/07/2024 10:20:10 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.CompositionService-RemoteServiceBrokerServer read: Content-Length: 242

{"jsonrpc":"2.0","id":8,"method":"requestServiceChannel","params":[{"name":"Microsoft.VisualStudio.NuGetSolutionRestoreService","version":"0.1"},{"activationArguments":{"needEvents":"True"},"clientCulture":"en-GB","clientUICulture":"en-GB"}]} 02/07/2024 10:20:10 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.CompositionService-RemoteServiceBrokerServer write: Content-Length: 137

{"jsonrpc":"2.0","id":8,"result":{"requestId":"9969bffc-eaf3-4751-b518-d299fd7846e1","pipeName":"/tmp/3ec8ccc31d4240fb938c2a41697a6dda"}} 02/07/2024 10:20:19 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.CompositionService-RemoteServiceBrokerServer read: Content-Length: 197

{"jsonrpc":"2.0","id":9,"method":"requestServiceChannel","params":[{"name":"Microsoft.VisualStudio.NoDelay.EnvironmentService","version":"0.1"},{"clientCulture":"en-GB","clientUICulture":"en-GB"}]} 02/07/2024 10:20:19 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.CompositionService-RemoteServiceBrokerServer write: Content-Length: 137

{"jsonrpc":"2.0","id":9,"result":{"requestId":"955449f3-3def-4365-82bc-0bac557891d6","pipeName":"/tmp/7e2027e3f327483fae3ad699687d882d"}} 02/07/2024 10:20:19 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.CompositionService-RemoteServiceBrokerServer read: Content-Length: 203

{"jsonrpc":"2.0","id":10,"method":"requestServiceChannel","params":[{"name":"Microsoft.VisualStudio.LanguageServices.WorkspaceProjectFactoryService"},{"clientCulture":"en-GB","clientUICulture":"en-GB"}]} 02/07/2024 10:20:19 Central European Standard Time : Information : VsHubClient-hubController write: Content-Length: 1375

{"jsonrpc":"2.0","id":10,"method":"requestServiceChannel","params":[{"Name":"Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService","Version":"0.1"},{"ActivationArguments":{"servicehubServiceModuleInfo":"{\"name\":null,\"host\":\"dotnet.projectSystem\",\"hostId\":\"C94B8CFE-E3FD-4BAF-A941-2866DBB566FE\",\"serviceBaseDirectory\":\"/home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/CPS/platforms/linux-x64/node_modules/@microsoft/visualstudio-projectsystem-server.linux-x64\",\"entryPoint\":{\"assemblyPath\":\"/home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/CPS/platforms/linux-x64/node_modules/@microsoft/visualstudio-projectsystem-server.linux-x64/Microsoft.VisualStudio.ProjectSystem.Server.Implementation.dll\",\"fullClassName\":\"Microsoft.VisualStudio.ProjectSystem.Server.ProjectInitializationStatusServiceFactory\",\"scriptPath\":null,\"constructorFunction\":null,\"configPath\":null,\"appBasePath\":null,\"assemblySearchPathsConfig\":null},\"hostGroupAllowed\":null,\"hostGroupId\":null,\"serviceOverride\":null,\"singleDomainLoaderOptimization\":null,\"versionRange\":null,\"friendServices\":null}","servicehubServiceHubRemoteServiceBrokerPipeName":"/home/greg/.ServiceHub/162ad65630/2fbc2a7092"},"ClientCredentials":{},"ClientCulture":"en-GB","ClientUICulture":"en-GB"}]} 02/07/2024 10:20:19 Central European Standard Time : Information : VsHubClient-hubController read: Content-Length: 161

{"jsonrpc":"2.0","id":10,"result":{"RequestId":"12e219c9-9e4c-4587-abe4-ac9a38d54188","PipeName":"/home/greg/.ServiceHub/162ad65630/c660e232d9","IsEmpty":false}} 02/07/2024 10:20:19 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService-RemoteServiceBrokerServer read: Content-Length: 193

{"jsonrpc":"2.0","id":2,"method":"handshake","params":[{"supportedConnections":"IpcPipe","localServiceHost":{"operatingSystem":1,"processArchitecture":1,"runtime":2,"runtimeVersion":"8.0.1"}}]} 02/07/2024 10:20:19 Central European Standard Time : Information : Disposing ServiceBroker server '/home/greg/.ServiceHub/162ad65630/2fbc2a7092'. 02/07/2024 10:20:19 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService-RemoteServiceBrokerServer write: Content-Length: 38

{"jsonrpc":"2.0","id":2,"result":null} 02/07/2024 10:20:19 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService-RemoteServiceBrokerServer read: Content-Length: 183

{"jsonrpc":"2.0","id":3,"method":"requestServiceChannel","params":[{"name":"Microsoft.ServiceHub.Framework.AuthorizationService"},{"clientCulture":"en-GB","clientUICulture":"en-GB"}]} 02/07/2024 10:20:19 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService-RemoteServiceBrokerServer write: Content-Length: 137

{"jsonrpc":"2.0","id":3,"result":{"requestId":"3946fde6-a6cd-4a08-94e1-3211f6a101aa","pipeName":"/tmp/2b50ad7e2ce84889a3213c43d9774bb8"}} 02/07/2024 10:20:20 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.CompositionService-RemoteServiceBrokerServer write: Content-Length: 138

{"jsonrpc":"2.0","id":10,"result":{"requestId":"f8f8912d-4f57-47d4-800f-f5a77e2474b4","pipeName":"/tmp/29afe41f762b47dd9939ac1dadfbef4c"}} 02/07/2024 10:20:26 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.CompositionService-RemoteServiceBrokerServer read: Content-Length: 199

{"jsonrpc":"2.0","id":11,"method":"requestServiceChannel","params":[{"name":"Microsoft.VisualStudio.NuGetSolutionRestoreService","version":"0.1"},{"clientCulture":"en-GB","clientUICulture":"en-GB"}]} 02/07/2024 10:20:26 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.CompositionService-RemoteServiceBrokerServer write: Content-Length: 138

{"jsonrpc":"2.0","id":11,"result":{"requestId":"09bb607a-abf5-4e6a-8988-d9330bbd6686","pipeName":"/tmp/ddbdb9b5fb8c4815955917bb674afa4c"}} 02/07/2024 10:20:28 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.CompositionService-RemoteServiceBrokerServer read: Content-Length: 250

{"jsonrpc":"2.0","id":12,"method":"requestServiceChannel","params":[{"name":"Microsoft.VisualStudio.LogOutputChannelService","version":"0.1"},{"activationArguments":{"outputChannelName":"Projects"},"clientCulture":"en-GB","clientUICulture":"en-GB"}]} 02/07/2024 10:20:28 Central European Standard Time : Information : Microsoft.VisualStudio.ProjectSystem.CompositionService-RemoteServiceBrokerServer write: Content-Length: 138

{"jsonrpc":"2.0","id":12,"result":{"requestId":"0738fc46-9581-4bdf-ac28-ac08d50fef91","pipeName":"/tmp/b4877a65557e4a3284b5f90c8d5abf7c"}} 02/07/2024 10:23:17 Central European Standard Time : Information : VsHubClient-hubController write: Content-Length: 1366

{"jsonrpc":"2.0","id":11,"method":"requestServiceChannel","params":[{"Name":"vs-intellicode-base-models","Version":"0.1"},{"ActivationArguments":{"servicehubServiceModuleInfo":"{\"name\":null,\"host\":\"dotnet\",\"hostId\":\"C94B8CFE-E3FD-4BAF-A941-2866DBB566FE\",\"serviceBaseDirectory\":\"/home/greg/.vscode/extensions/ms-dotnettools.vscodeintellicode-csharp-0.1.26-linux-x64/components/model-service/platforms/linux-x64/node_modules/@vsintellicode/starred-suggestions-csharp-models.linux-x64\",\"entryPoint\":{\"assemblyPath\":\"/home/greg/.vscode/extensions/ms-dotnettools.vscodeintellicode-csharp-0.1.26-linux-x64/components/model-service/platforms/linux-x64/node_modules/@vsintellicode/starred-suggestions-csharp-models.linux-x64/Microsoft.VisualStudio.IntelliCode.CSharp.BaseModelService.dll\",\"fullClassName\":\"Microsoft.VisualStudio.IntelliCode.BaseModelService.BaseModelServiceFactory\",\"scriptPath\":null,\"constructorFunction\":null,\"configPath\":null,\"appBasePath\":null,\"assemblySearchPathsConfig\":null},\"hostGroupAllowed\":null,\"hostGroupId\":null,\"serviceOverride\":null,\"singleDomainLoaderOptimization\":null,\"versionRange\":null,\"friendServices\":null}","servicehubServiceHubRemoteServiceBrokerPipeName":"/home/greg/.ServiceHub/162ad65630/3db4f8ea10"},"ClientCredentials":{},"ClientCulture":"en-GB","ClientUICulture":"en-US"}]} 02/07/2024 10:23:17 Central European Standard Time : Information : VsHubClient-hubController read: Content-Length: 161

{"jsonrpc":"2.0","id":11,"result":{"RequestId":"5df2a61f-40ab-4aa6-b5b8-09789c829080","PipeName":"/home/greg/.ServiceHub/162ad65630/b2b4b793af","IsEmpty":false}} 02/07/2024 10:23:17 Central European Standard Time : Information : Disposing ServiceBroker server '/home/greg/.ServiceHub/162ad65630/3db4f8ea10'. 02/07/2024 10:23:17 Central European Standard Time : Information : vs-intellicode-base-models-RemoteServiceBrokerServer read: Content-Length: 194

{"jsonrpc":"2.0","id":2,"method":"handshake","params":[{"supportedConnections":"IpcPipe","localServiceHost":{"operatingSystem":1,"processArchitecture":1,"runtime":2,"runtimeVersion":"7.0.15"}}]} 02/07/2024 10:23:17 Central European Standard Time : Information : vs-intellicode-base-models-RemoteServiceBrokerServer write: Content-Length: 38

{"jsonrpc":"2.0","id":2,"result":null} 02/07/2024 10:23:17 Central European Standard Time : Information : vs-intellicode-base-models-RemoteServiceBrokerServer read: Content-Length: 183

{"jsonrpc":"2.0","id":3,"method":"requestServiceChannel","params":[{"name":"Microsoft.ServiceHub.Framework.AuthorizationService"},{"clientCulture":"en-GB","clientUICulture":"en-US"}]} 02/07/2024 10:23:17 Central European Standard Time : Information : vs-intellicode-base-models-RemoteServiceBrokerServer write: Content-Length: 137

{"jsonrpc":"2.0","id":3,"result":{"requestId":"c1fbd01d-c23c-4d67-8c50-40e6596dd9a2","pipeName":"/tmp/4e1276df0a2f4a72869b992fe156fd65"}} 02/07/2024 11:54:36 Central European Standard Time : Information : VsHubClient-hubController write: Content-Length: 1329

{"jsonrpc":"2.0","id":12,"method":"requestServiceChannel","params":[{"Name":"Microsoft.VisualStudio.LaunchConfigurationService"},{"ActivationArguments":{"servicehubServiceModuleInfo":"{\"name\":null,\"host\":\"dotnet.projectSystem\",\"hostId\":\"C94B8CFE-E3FD-4BAF-A941-2866DBB566FE\",\"serviceBaseDirectory\":\"/home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/CPS/platforms/linux-x64/node_modules/@microsoft/visualstudio-projectsystem-server.linux-x64\",\"entryPoint\":{\"assemblyPath\":\"/home/greg/.vscode/extensions/ms-dotnettools.csdevkit-1.3.10-linux-x64/components/CPS/platforms/linux-x64/node_modules/@microsoft/visualstudio-projectsystem-server.linux-x64/Microsoft.VisualStudio.ProjectSystem.Server.Implementation.dll\",\"fullClassName\":\"Microsoft.VisualStudio.ProjectSystem.Server.LaunchConfigurationServiceFactory\",\"scriptPath\":null,\"constructorFunction\":null,\"configPath\":null,\"appBasePath\":null,\"assemblySearchPathsConfig\":null},\"hostGroupAllowed\":null,\"hostGroupId\":null,\"serviceOverride\":null,\"singleDomainLoaderOptimization\":null,\"versionRange\":null,\"friendServices\":null}","servicehubServiceHubRemoteServiceBrokerPipeName":"/home/greg/.ServiceHub/162ad65630/b81b6225ad"},"ClientCredentials":{},"ClientCulture":"en-GB","ClientUICulture":"en-GB"}]} 02/07/2024 11:54:36 Central European Standard Time : Information : VsHubClient-hubController JSON RPC has been disposed 02/07/2024 11:54:36 Central European Standard Time : Information : Task 'RequestServiceChannelAsync-Microsoft.VisualStudio.LaunchConfigurationService' failed after iteration 1 02/07/2024 11:54:36 Central European Standard Time : Information : VsHubClient-hubController read: end of stream 02/07/2024 11:54:36 Central European Standard Time : Error : System.ObjectDisposedException: The CancellationTokenSource has been disposed. HResult='-2146232798' at System.Threading.CancellationTokenSource.get_Token() at Microsoft.ServiceHub.Client.HubClient.GetLocationServiceWithRetriesAsync() at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) at System.Lazy1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor) at System.Lazy1.CreateValue() at Microsoft.ServiceHub.Client.HubClient.RemoteServiceBrokerWrapper.<>c__DisplayClass9_0.<<RequestServiceChannelAsync>b__0>d.MoveNext() --- End of stack trace from previous location --- at Microsoft.ServiceHub.Utility.Shared.ServiceHubRetry.ExecuteAsync[TReturnType](Func1 actionToExecute, TraceSource logger, ServiceHubRetryConfiguration`1 serviceHubRetryConfiguration, CancellationToken cancellationToken) 02/07/2024 11:54:36 Central European Standard Time : Information : Disposing ServiceBroker server '/home/greg/.ServiceHub/162ad65630/b81b6225ad'.

wgrs commented 3 months ago

@lifengl Do you agree that the dotnet --info is reporting incorrectly on Linux or is it a case that the dotnet CLI actually cant see the .Net 7 runtime?

lifengl commented 3 months ago

I don't see a problem with the latest dotnet --info output.

We basically have two vs-code extensions here, the C# DevKit provides the solution explorer experience & gather project information, and the C# extension provides intellisense/language experiences. We saw both were loaded. The DevKit side seems to work correctly, but the C# extension didn't get any data from the other side. So it is likely somewhere the bridge between the two is broken. The two use JsonRpc to talk with each other, and in the log, we saw the DevKit did try to establish the connection to the other side.

{"jsonrpc":"2.0","id":10,"method":"requestServiceChannel","params":[{"name":"Microsoft.VisualStudio.LanguageServices.WorkspaceProjectFactoryService"},{"clientCulture":"en-GB","clientUICulture":"en-GB"}]} 02/07/2024 10:20:19 Central European Standard Time : Information : VsHubClient-hubController write: Content-Length: 1375

wgrs commented 3 months ago

@lifengl There must be something wrong because I have installed. Net 7 but dotnet --info does not see it

lifengl commented 3 months ago

can you share another log file with us? this one is in the parent folder and called Microsoft.VisualStudio.Server.Main.svclog. It is an Xml file, containing information from JSON RPC layer.

on the other hand, yes, something went wrong here, but may not be related to how NET 7 installed at this point.

you may install many different copies of isolated dotnet into your system. Those packages are just copied into your system, in an isolated folder. You are using a specific one from a specific installation, because the dotnet command you execute, is the one first to be found in the $PATH environment.

You may install multiple versions of runtimes/SDKs into the same location, basically, they will all be under the folder containing the dotnet command (well, symbol links in the OS could make this complex, so they might be nested through symbol links). When you execute a dotnet command, it finds installed runtime/SDKs nested under its own folder. that is when thing can go wrong under some conditions different versions of SDKs from different vendors installed into the same location, as they may manage folder layers differently, as some use real child folders, some add symbol links.

On the other hand, you can create/install many other copies of runtime/SDKs into a personal folder, a private folder of an application, or any random directory. So, you can see a machine may have many of those isolated installation in different places, and they don't know each other.

That is why the dotnet --info doesn't tell you about the NET 7 runtime, because it only knows what installed under the same location, but nothing else. I didn't drill into how you installed the NET 7, but it is likely in an isolated location, but could be found and used by the extension.

And the extension has multiple processes, which some are running inside the tooling scope, which are using the NET 7 runtime, but others would have to use the dotnet installed with the SDK (the one with your dotnet), because running in NET 7 runtime cannot work with NET 8 SDK. A part of reason doing that is that some developers might start use some new SDKs like NET 9 SDK in the earlier stage of its life, so running inside NET 9 runtime might lead more things to be unstable, or more likely run into breaking changes in a new runtime. So, a developer tool would split components into different processes, and they are on different version of runtime, and communicating with each other through JSON RPC.

the communication between different extension would be more complicated, as it passes through a Node.JS TypeScript process, which is likely broken, as we drill further into this problem...

lifengl commented 3 months ago

@Farenheith ,

the pop-up has nothing to do with the language service. the language service is provided by a different extension, and it has no impact on the C# DevKit behavior. It might not even be a bug at all. if it is ever dismissed, or you open an existing workspace opened before, it might never pop up again. This pop-up is just to help developer to start to use the extension. Most developers don't want to see it to appear again, if they just don't want to deal with it, so it would be suppressed on the workspace forever. So what you saw might be just what is intended. You can always open the solution through the command.

...I've just noticed that, when opening on windows a project with multiple solutions, the extension asks automatically which one must be used for intellissense purpose. The fact the extension doesn't inquire it when running on wsl is probably because the language service is broken. ...

Farenheith commented 3 months ago

@lifengl The problem is the extension is broken with remote wsl, it doesn't offer intellissense at all. It doesn't matter if there is one or two solution in the folder. This is not intended behavior.

I'm not putting the pop-up as the bug, just like something that drew my attention to the lack of sln detection, but the problem is: no intellissense on remote wsl, everything working as expected on windows, not "no pop-up"

This discussion is becoming pointless.

wgrs commented 3 months ago

@lifengl Microsoft.VisualStudio.Server.Main.svclog

1308greg-ThinkPad-E520SameProcess proffered brokered service(s): Microsoft.VisualStudio.RemoteBrokeredServiceManifest (0.2).1308greg-ThinkPad-E520SameProcess proffered brokered service(s): Microsoft.VisualStudio.GlobalBrokeredServiceContainer.MissingServiceDiagnostics (1.0).1308greg-ThinkPad-E520SameProcess proffered brokered service(s): Microsoft.VisualStudio.RemoteBrokeredServiceManifest (0.1).1308greg-ThinkPad-E520SameProcess proffered brokered service(s): Microsoft.ServiceHub.Framework.AuthorizationService.1308greg-ThinkPad-E520SameProcess proffered brokered service(s): Microsoft.VisualStudio.SolutionFileService (0.1), Microsoft.VisualStudio.NoDelay.EnvironmentService (0.1), Microsoft.VisualStudio.Telemetry.TelemetrySessionUpdateService (0.1), Microsoft.VisualStudio.OutOfProcServiceRegistration (0.1), Microsoft.VisualStudio.DiagnosticsService (0.1), Microsoft.VisualStudio.NoDelay.ProjectIteratorService (0.1), Microsoft.VisualStudio.NoDelay.SolutionViewService (0.1).0308greg-ThinkPad-E520Added local RPC method "connectToServer" -> Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.ConnectToServerAsync(IServiceBroker, Stream, CancellationToken) (Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker)0308greg-ThinkPad-E520Added local RPC method "handshake" -> Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.HandshakeAsync(ServiceBrokerClientMetadata, CancellationToken) (Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker)0308greg-ThinkPad-E520Added local RPC method "requestServiceChannel" -> Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken) (Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker)0308greg-ThinkPad-E520Added local RPC method "cancelServiceRequest" -> Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.CancelServiceRequestAsync(Guid) (Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker)0308greg-ThinkPad-E520Added local RPC method "dispose" -> Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.DisposeAsync() (Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker)0308greg-ThinkPad-E520Added local RPC method "dispose" -> Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.Dispose() (Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker)0308greg-ThinkPad-E520Added local RPC method "connectToServer" -> Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.ConnectToServerAsync(IServiceBroker, Stream, CancellationToken) (Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker)0308greg-ThinkPad-E520Added local RPC method "handshake" -> Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.HandshakeAsync(ServiceBrokerClientMetadata, CancellationToken) (Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker)0308greg-ThinkPad-E520Added local RPC method "requestServiceChannel" -> Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken) (Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker)0308greg-ThinkPad-E520Added local RPC method "cancelServiceRequest" -> Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.CancelServiceRequestAsync(Guid) (Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker)2308greg-ThinkPad-E520Listening for events from Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.AvailabilityChanged to raise notification.3308greg-ThinkPad-E520Listening started.7308greg-ThinkPad-E520{"id":0,"method":"handshake"}6308greg-ThinkPad-E520Received request "0" for method "handshake".1308greg-ThinkPad-E520IRemoteServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): .9308greg-ThinkPad-E520Invoking Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.HandshakeAsync(ServiceBrokerClientMetadata, CancellationToken)030255greg-ThinkPad-E520handshake030255greg-ThinkPad-E520handshake8308greg-ThinkPad-E520{"id":0}7308greg-ThinkPad-E520{"id":1,"method":"requestServiceChannel"}6308greg-ThinkPad-E520Received request "1" for method "requestServiceChannel".9308greg-ThinkPad-E520Invoking Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken)030255greg-ThinkPad-E520requestServiceChannel030255greg-ThinkPad-E520Transfer030255greg-ThinkPad-E520Requesting pipe to "Microsoft.VisualStudio.OutOfProcServiceRegistration (0.1)"2308greg-ThinkPad-E520Request for "Microsoft.VisualStudio.OutOfProcServiceRegistration (0.1)" will be fulfilled by SameProcess030255greg-ThinkPad-E520Transfer030255greg-ThinkPad-E520Requesting proxy to "Microsoft.ServiceHub.Framework.AuthorizationService"2308greg-ThinkPad-E520Request for "Microsoft.ServiceHub.Framework.AuthorizationService" will be fulfilled by SameProcess2308greg-ThinkPad-E520Request for proxy to "Microsoft.ServiceHub.Framework.AuthorizationService" is Fulfilled by SameProcess: NoExplanation.030255greg-ThinkPad-E520Requesting proxy to "Microsoft.ServiceHub.Framework.AuthorizationService"030255greg-ThinkPad-E520Transfer2308greg-ThinkPad-E520Request for pipe to "Microsoft.VisualStudio.OutOfProcServiceRegistration (0.1)" is Fulfilled by SameProcess: NoExplanation.030255greg-ThinkPad-E520Requesting pipe to "Microsoft.VisualStudio.OutOfProcServiceRegistration (0.1)"030255greg-ThinkPad-E520Transfer030255greg-ThinkPad-E520requestServiceChannel8308greg-ThinkPad-E520{"id":1}1308greg-ThinkPad-E520IRemoteServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.CpsProjectIconSourceService.1308greg-ThinkPad-E520IRemoteServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.LaunchConfigurationService.1308greg-ThinkPad-E520IRemoteServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.ProjectSystem.CompositionService.1308greg-ThinkPad-E520IRemoteServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService.1308greg-ThinkPad-E520IRemoteServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.ProjectSystem.ProjectTreeProvider.1308greg-ThinkPad-E520IRemoteServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.ProjectSystem.Query.Remoting.QueryExecutionService.1308greg-ThinkPad-E520IRemoteServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.Debugger.GenericHotReloadAgentManagerService.1308greg-ThinkPad-E520IRemoteServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.Debugger.HotReloadClientService.1308greg-ThinkPad-E520IRemoteServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.Debugger.HotReloadSessionNotificationService.1308greg-ThinkPad-E520IRemoteServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.Debugger.ManagedEditAndContinueCsDevKitEngineService.1308greg-ThinkPad-E520IRemoteServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.Debugger.ManagedEditAndContinueCsDevKitEngineService2.1308greg-ThinkPad-E520IRemoteServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.Debugger.ManagedEditAndContinueRemoteDebuggerService.1308greg-ThinkPad-E520IRemoteServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.Debugger.ManagedEditAndContinueRemoteDebuggerService2.1308greg-ThinkPad-E520IRemoteServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.Debugger.ManagedHotReloadAgentManagerService.1308greg-ThinkPad-E520IRemoteServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.Debugger.ManagedHotReloadService.1308greg-ThinkPad-E520IRemoteServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.TestWindow.VSCode.ProjectSystemProvider.Service.1308greg-ThinkPad-E520IRemoteServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.TestWindow.VSCode.Service.1308greg-ThinkPad-E520IRemoteServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.TemplateEngine.VSCode.TemplateEngineHostService.1308greg-ThinkPad-E520IRemoteServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.ProjectQueryTestService.1308greg-ThinkPad-E520IRemoteServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): helloServiceHubDotNetHost.1308greg-ThinkPad-E520IServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): helloVSCodeExtensionHost (1.0).1308greg-ThinkPad-E520IServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.ComponentExportsService (0.1).1308greg-ThinkPad-E520IServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.BrokeredServiceExportsRegistrar (0.1).1308greg-ThinkPad-E520IServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.ErrorReportingService (0.1).1308greg-ThinkPad-E520IServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.ActiveDocumentsInformationService (0.1).1308greg-ThinkPad-E520IServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.TokenAcquisitionService (0.1).1308greg-ThinkPad-E520IServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.NuGetSolutionRestoreService (0.1).1308greg-ThinkPad-E520IServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.LogOutputChannelService (0.1).1308greg-ThinkPad-E520IServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.Debugger.HotReloadLogger (0.1).1308greg-ThinkPad-E520IServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.Debugger.HotReloadClientListener (0.1).1308greg-ThinkPad-E520IServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.Debugger.HotReloadOptionService (0.1).1308greg-ThinkPad-E520IServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.Debugger.DotnetDebugConfigurationService (0.1).1308greg-ThinkPad-E520IServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.VsCodeFileWatcherService (0.1).1308greg-ThinkPad-E520IServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.CodeAnalysis.LanguageClient.SolutionSnapshotProvider (0.1).1308greg-ThinkPad-E520IServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.VisualStudio.CSharpExtension.BuildResultService (0.1).1308greg-ThinkPad-E520IRemoteServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): vs-intellicode-base-models.7308greg-ThinkPad-E520{"id":2,"method":"requestServiceChannel"}6308greg-ThinkPad-E520Received request "2" for method "requestServiceChannel".9308greg-ThinkPad-E520Invoking Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken)030255greg-ThinkPad-E520requestServiceChannel7308greg-ThinkPad-E520{"id":3,"method":"requestServiceChannel"}6308greg-ThinkPad-E520Received request "3" for method "requestServiceChannel".030255greg-ThinkPad-E520Transfer030255greg-ThinkPad-E520Requesting pipe to "Microsoft.VisualStudio.ProjectSystem.ProjectTreeProvider (0.1)"2308greg-ThinkPad-E520Request for "Microsoft.VisualStudio.ProjectSystem.ProjectTreeProvider (0.1)" will be fulfilled by OtherProcessOnSameMachine9308greg-ThinkPad-E520Invoking Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken)030255greg-ThinkPad-E520requestServiceChannel7308greg-ThinkPad-E520{"id":4,"method":"requestServiceChannel"}6308greg-ThinkPad-E520Received request "4" for method "requestServiceChannel".9308greg-ThinkPad-E520Invoking Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken)030255greg-ThinkPad-E520requestServiceChannel7308greg-ThinkPad-E520{"id":5,"method":"requestServiceChannel"}6308greg-ThinkPad-E520Received request "5" for method "requestServiceChannel".9308greg-ThinkPad-E520Invoking Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken)030255greg-ThinkPad-E520requestServiceChannel7308greg-ThinkPad-E520{"id":6,"method":"requestServiceChannel"}6308greg-ThinkPad-E520Received request "6" for method "requestServiceChannel".9308greg-ThinkPad-E520Invoking Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken)030255greg-ThinkPad-E520requestServiceChannel030255greg-ThinkPad-E520Transfer030255greg-ThinkPad-E520Requesting pipe to "Microsoft.VisualStudio.TestWindow.VSCode.Service (0.1)"2308greg-ThinkPad-E520Request for "Microsoft.VisualStudio.TestWindow.VSCode.Service (0.1)" will be fulfilled by OtherProcessOnSameMachine030255greg-ThinkPad-E520Transfer030255greg-ThinkPad-E520Requesting pipe to "Microsoft.VisualStudio.LaunchConfigurationService"2308greg-ThinkPad-E520Request for "Microsoft.VisualStudio.LaunchConfigurationService" will be fulfilled by OtherProcessOnSameMachine030255greg-ThinkPad-E520Transfer030255greg-ThinkPad-E520Requesting pipe to "Microsoft.VisualStudio.NoDelay.EnvironmentService (0.1)"2308greg-ThinkPad-E520Request for "Microsoft.VisualStudio.NoDelay.EnvironmentService (0.1)" will be fulfilled by SameProcess030255greg-ThinkPad-E520Transfer030255greg-ThinkPad-E520Requesting proxy to "Microsoft.ServiceHub.Framework.AuthorizationService"2308greg-ThinkPad-E520Request for "Microsoft.ServiceHub.Framework.AuthorizationService" will be fulfilled by SameProcess2308greg-ThinkPad-E520Request for proxy to "Microsoft.ServiceHub.Framework.AuthorizationService" is Fulfilled by SameProcess: NoExplanation.030255greg-ThinkPad-E520Requesting proxy to "Microsoft.ServiceHub.Framework.AuthorizationService"030255greg-ThinkPad-E520Transfer2308greg-ThinkPad-E520Request for pipe to "Microsoft.VisualStudio.NoDelay.EnvironmentService (0.1)" is Fulfilled by SameProcess: NoExplanation.030255greg-ThinkPad-E520Requesting pipe to "Microsoft.VisualStudio.NoDelay.EnvironmentService (0.1)"030255greg-ThinkPad-E520Transfer030255greg-ThinkPad-E520requestServiceChannel8308greg-ThinkPad-E520{"id":5}030255greg-ThinkPad-E520Transfer030255greg-ThinkPad-E520Requesting pipe to "Microsoft.VisualStudio.Telemetry.TelemetrySessionUpdateService (0.1)"2308greg-ThinkPad-E520Request for "Microsoft.VisualStudio.Telemetry.TelemetrySessionUpdateService (0.1)" will be fulfilled by SameProcess030255greg-ThinkPad-E520Transfer030255greg-ThinkPad-E520Requesting proxy to "Microsoft.ServiceHub.Framework.AuthorizationService"2308greg-ThinkPad-E520Request for "Microsoft.ServiceHub.Framework.AuthorizationService" will be fulfilled by SameProcess2308greg-ThinkPad-E520Request for proxy to "Microsoft.ServiceHub.Framework.AuthorizationService" is Fulfilled by SameProcess: NoExplanation.030255greg-ThinkPad-E520Requesting proxy to "Microsoft.ServiceHub.Framework.AuthorizationService"030255greg-ThinkPad-E520Transfer2308greg-ThinkPad-E520Request for pipe to "Microsoft.VisualStudio.Telemetry.TelemetrySessionUpdateService (0.1)" is Fulfilled by SameProcess: NoExplanation.030255greg-ThinkPad-E520Requesting pipe to "Microsoft.VisualStudio.Telemetry.TelemetrySessionUpdateService (0.1)"030255greg-ThinkPad-E520Transfer030255greg-ThinkPad-E520requestServiceChannel8308greg-ThinkPad-E520{"id":6}030255greg-ThinkPad-E520Transfer030255greg-ThinkPad-E520Requesting proxy to "Microsoft.VisualStudio.VsCodeFileWatcherService (0.1)"2308greg-ThinkPad-E520Request for "Microsoft.VisualStudio.VsCodeFileWatcherService (0.1)" will be fulfilled by OtherProcessOnSameMachine7308greg-ThinkPad-E520{"id":7,"method":"requestServiceChannel"}6308greg-ThinkPad-E520Received request "7" for method "requestServiceChannel".9308greg-ThinkPad-E520Invoking Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken)030255greg-ThinkPad-E520requestServiceChannel030255greg-ThinkPad-E520Transfer030255greg-ThinkPad-E520Requesting pipe to "Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService (0.1)"2308greg-ThinkPad-E520Request for "Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService (0.1)" will be fulfilled by OtherProcessOnSameMachine2308greg-ThinkPad-E520Request for proxy to "Microsoft.VisualStudio.VsCodeFileWatcherService (0.1)" is Fulfilled by OtherProcessOnSameMachine: NoExplanation.030255greg-ThinkPad-E520Requesting proxy to "Microsoft.VisualStudio.VsCodeFileWatcherService (0.1)"030255greg-ThinkPad-E520Transfer2308greg-ThinkPad-E520Request for pipe to "Microsoft.VisualStudio.TestWindow.VSCode.Service (0.1)" is Fulfilled by OtherProcessOnSameMachine: NoExplanation.030255greg-ThinkPad-E520Requesting pipe to "Microsoft.VisualStudio.TestWindow.VSCode.Service (0.1)"030255greg-ThinkPad-E520Transfer030255greg-ThinkPad-E520requestServiceChannel8308greg-ThinkPad-E520{"id":3}2308greg-ThinkPad-E520Request for "Microsoft.ServiceHub.Framework.AuthorizationService" will be fulfilled by SameProcess2308greg-ThinkPad-E520Request for pipe to "Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService (0.1)" is Fulfilled by OtherProcessOnSameMachine: NoExplanation.030255greg-ThinkPad-E520Requesting pipe to "Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService (0.1)"030255greg-ThinkPad-E520Transfer030255greg-ThinkPad-E520requestServiceChannel8308greg-ThinkPad-E520{"id":7}2308greg-ThinkPad-E520Request for pipe to "Microsoft.VisualStudio.ProjectSystem.ProjectTreeProvider (0.1)" is Fulfilled by OtherProcessOnSameMachine: NoExplanation.030255greg-ThinkPad-E520Requesting pipe to "Microsoft.VisualStudio.ProjectSystem.ProjectTreeProvider (0.1)"030255greg-ThinkPad-E520Transfer030255greg-ThinkPad-E520requestServiceChannel8308greg-ThinkPad-E520{"id":2}2308greg-ThinkPad-E520Request for pipe to "Microsoft.VisualStudio.LaunchConfigurationService" is Fulfilled by OtherProcessOnSameMachine: NoExplanation.030255greg-ThinkPad-E520Requesting pipe to "Microsoft.VisualStudio.LaunchConfigurationService"030255greg-ThinkPad-E520Transfer030255greg-ThinkPad-E520requestServiceChannel8308greg-ThinkPad-E520{"id":4}0308greg-ThinkPad-E520Answering brokered service bridge request.0308greg-ThinkPad-E520Added local RPC method "connectToServer" -> Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.ConnectToServerAsync(IServiceBroker, Stream, CancellationToken) (Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker)0308greg-ThinkPad-E520Added local RPC method "handshake" -> Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.HandshakeAsync(ServiceBrokerClientMetadata, CancellationToken) (Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker)0308greg-ThinkPad-E520Added local RPC method "requestServiceChannel" -> Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken) (Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker)0308greg-ThinkPad-E520Added local RPC method "cancelServiceRequest" -> Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.CancelServiceRequestAsync(Guid) (Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker)0308greg-ThinkPad-E520Added local RPC method "dispose" -> Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.DisposeAsync() (Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker)0308greg-ThinkPad-E520Added local RPC method "dispose" -> Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.Dispose() (Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker)0308greg-ThinkPad-E520Added local RPC method "connectToServer" -> Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.ConnectToServerAsync(IServiceBroker, Stream, CancellationToken) (Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker)0308greg-ThinkPad-E520Added local RPC method "handshake" -> Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.HandshakeAsync(ServiceBrokerClientMetadata, CancellationToken) (Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker)0308greg-ThinkPad-E520Added local RPC method "requestServiceChannel" -> Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken) (Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker)0308greg-ThinkPad-E520Added local RPC method "cancelServiceRequest" -> Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.CancelServiceRequestAsync(Guid) (Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker)2308greg-ThinkPad-E520Listening for events from Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.AvailabilityChanged to raise notification.3308greg-ThinkPad-E520Listening started.7308greg-ThinkPad-E520{"id":8,"method":"requestServiceChannel"}6308greg-ThinkPad-E520Received request "8" for method "requestServiceChannel".9308greg-ThinkPad-E520Invoking Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken)030255greg-ThinkPad-E520requestServiceChannel030255greg-ThinkPad-E520Transfer030255greg-ThinkPad-E520Requesting pipe to "Microsoft.VisualStudio.TestWindow.VSCode.ProjectSystemProvider.Service (0.1)"2308greg-ThinkPad-E520Request for "Microsoft.VisualStudio.TestWindow.VSCode.ProjectSystemProvider.Service (0.1)" will be fulfilled by OtherProcessOnSameMachine2308greg-ThinkPad-E520Request for pipe to "Microsoft.VisualStudio.TestWindow.VSCode.ProjectSystemProvider.Service (0.1)" is Fulfilled by OtherProcessOnSameMachine: NoExplanation.030255greg-ThinkPad-E520Requesting pipe to "Microsoft.VisualStudio.TestWindow.VSCode.ProjectSystemProvider.Service (0.1)"030255greg-ThinkPad-E520Transfer030255greg-ThinkPad-E520requestServiceChannel8308greg-ThinkPad-E520{"id":8}2308greg-ThinkPad-E520Request for "Microsoft.ServiceHub.Framework.AuthorizationService" will be fulfilled by SameProcess2308greg-ThinkPad-E520Request for "Microsoft.VisualStudio.ProjectSystem.Query.Remoting.QueryExecutionService (0.2)" will be fulfilled by OtherProcessOnSameMachine2308greg-ThinkPad-E520Request for "Microsoft.ServiceHub.Framework.AuthorizationService" will be fulfilled by SameProcess2308greg-ThinkPad-E520Request for "Microsoft.ServiceHub.Framework.AuthorizationService" will be fulfilled by SameProcess2308greg-ThinkPad-E520Request for "Microsoft.ServiceHub.Framework.AuthorizationService" will be fulfilled by SameProcess2308greg-ThinkPad-E520Request for "Microsoft.ServiceHub.Framework.AuthorizationService" will be fulfilled by SameProcess2308greg-ThinkPad-E520Request for "Microsoft.VisualStudio.ProjectSystem.CompositionService (0.1)" will be fulfilled by OtherProcessOnSameMachine2308greg-ThinkPad-E520Request for "Microsoft.ServiceHub.Framework.AuthorizationService" will be fulfilled by SameProcess2308greg-ThinkPad-E520Request for "Microsoft.VisualStudio.ComponentExportsService (0.1)" will be fulfilled by OtherProcessOnSameMachine2308greg-ThinkPad-E520Request for "Microsoft.VisualStudio.NoDelay.EnvironmentService (0.1)" will be fulfilled by SameProcess030255greg-ThinkPad-E520Transfer030255greg-ThinkPad-E520Requesting proxy to "Microsoft.ServiceHub.Framework.AuthorizationService"2308greg-ThinkPad-E520Request for "Microsoft.ServiceHub.Framework.AuthorizationService" will be fulfilled by SameProcess2308greg-ThinkPad-E520Request for proxy to "Microsoft.ServiceHub.Framework.AuthorizationService" is Fulfilled by SameProcess: NoExplanation.030255greg-ThinkPad-E520Requesting proxy to "Microsoft.ServiceHub.Framework.AuthorizationService"030255greg-ThinkPad-E520Transfer2308greg-ThinkPad-E520Request for "Microsoft.VisualStudio.VsCodeFileWatcherService (0.1)" will be fulfilled by OtherProcessOnSameMachine1308greg-ThinkPad-E520IRemoteServiceBroker proffered from remote source: OtherProcessOnSameMachine.1308greg-ThinkPad-E520OtherProcessOnSameMachine proffered brokered service(s): Microsoft.CodeAnalysis.LanguageServer.ManagedHotReloadLanguageService (0.1), Microsoft.VisualStudio.LanguageServices.WorkspaceProjectFactoryService.2308greg-ThinkPad-E520Request for "Microsoft.VisualStudio.ActiveDocumentsInformationService (0.1)" will be fulfilled by OtherProcessOnSameMachine2308greg-ThinkPad-E520Request for "Microsoft.VisualStudio.NuGetSolutionRestoreService (0.1)" will be fulfilled by OtherProcessOnSameMachine2308greg-ThinkPad-E520Request for "Microsoft.VisualStudio.NoDelay.EnvironmentService (0.1)" will be fulfilled by SameProcess030255greg-ThinkPad-E520Transfer030255greg-ThinkPad-E520Requesting proxy to "Microsoft.ServiceHub.Framework.AuthorizationService"2308greg-ThinkPad-E520Request for "Microsoft.ServiceHub.Framework.AuthorizationService" will be fulfilled by SameProcess2308greg-ThinkPad-E520Request for proxy to "Microsoft.ServiceHub.Framework.AuthorizationService" is Fulfilled by SameProcess: NoExplanation.030255greg-ThinkPad-E520Requesting proxy to "Microsoft.ServiceHub.Framework.AuthorizationService"030255greg-ThinkPad-E520Transfer2308greg-ThinkPad-E520Request for "Microsoft.VisualStudio.LanguageServices.WorkspaceProjectFactoryService" will be fulfilled by OtherProcessOnSameMachine7308greg-ThinkPad-E520{"id":2,"method":"handshake"}6308greg-ThinkPad-E520Received request "2" for method "handshake".9308greg-ThinkPad-E520Invoking Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.HandshakeAsync(ServiceBrokerClientMetadata, CancellationToken)030255greg-ThinkPad-E520Transfer030255greg-ThinkPad-E520handshake030255greg-ThinkPad-E520handshake030255greg-ThinkPad-E520Transfer8308greg-ThinkPad-E520{"id":2}7308greg-ThinkPad-E520{"id":3,"method":"requestServiceChannel"}6308greg-ThinkPad-E520Received request "3" for method "requestServiceChannel".9308greg-ThinkPad-E520Invoking Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken)030255greg-ThinkPad-E520Transfer030255greg-ThinkPad-E520requestServiceChannel030255greg-ThinkPad-E520Transfer030255greg-ThinkPad-E520Requesting pipe to "Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService (0.1)"2308greg-ThinkPad-E520Request for "Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService (0.1)" will be fulfilled by OtherProcessOnSameMachine2308greg-ThinkPad-E520Request for pipe to "Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService (0.1)" is Fulfilled by OtherProcessOnSameMachine: NoExplanation.030255greg-ThinkPad-E520Requesting pipe to "Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService (0.1)"030255greg-ThinkPad-E520Transfer030255greg-ThinkPad-E520requestServiceChannel030255greg-ThinkPad-E520Transfer8308greg-ThinkPad-E520{"id":3}2308greg-ThinkPad-E520Request for "Microsoft.ServiceHub.Framework.AuthorizationService" will be fulfilled by SameProcess2308greg-ThinkPad-E520Request for "Microsoft.VisualStudio.NuGetSolutionRestoreService (0.1)" will be fulfilled by OtherProcessOnSameMachine2308greg-ThinkPad-E520Request for "Microsoft.VisualStudio.LogOutputChannelService (0.1)" will be fulfilled by OtherProcessOnSameMachine7308greg-ThinkPad-E520{"id":9,"method":"requestServiceChannel"}6308greg-ThinkPad-E520Received request "9" for method "requestServiceChannel".9308greg-ThinkPad-E520Invoking Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken)030255greg-ThinkPad-E520requestServiceChannel030255greg-ThinkPad-E520Transfer030255greg-ThinkPad-E520Requesting pipe to "Microsoft.VisualStudio.LaunchConfigurationService"2308greg-ThinkPad-E520Request for "Microsoft.VisualStudio.LaunchConfigurationService" will be fulfilled by OtherProcessOnSameMachine13308greg-ThinkPad-E520Connection closing (RemotePartyTerminated: Reached end of stream.). 1308greg-ThinkPad-E520Brokered service(s) UNproffered from OtherProcessOnSameMachine: .2308greg-ThinkPad-E520Request for pipe to "Microsoft.VisualStudio.LaunchConfigurationService" is Fulfilled by OtherProcessOnSameMachine: NoExplanation.030255greg-ThinkPad-E520Requesting pipe to "Microsoft.VisualStudio.LaunchConfigurationService"030255greg-ThinkPad-E520Transfer10302greg-ThinkPad-E520Exception thrown from request "9" for method requestServiceChannel: System.AggregateException: One or more errors occurred. (Cannot access a disposed object. Object name: 'Nerdbank.Streams.MultiplexingStream'.) ---> System.ObjectDisposedException: Cannot access a disposed object. Object name: 'Nerdbank.Streams.MultiplexingStream'. at Microsoft.Verify.NotDisposed(IDisposableObservable disposedValue, String message) at Nerdbank.Streams.MultiplexingStream.CreateChannel(ChannelOptions options) at Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.RequestServiceChannelAsync(ServiceMoniker serviceMoniker, ServiceActivationOptions options, CancellationToken cancellationToken) --- End of inner exception stack trace ---10302greg-ThinkPad-E520System.AggregateException: One or more errors occurred. (Cannot access a disposed object. Object name: 'Nerdbank.Streams.MultiplexingStream'.) ---> System.ObjectDisposedException: Cannot access a disposed object. Object name: 'Nerdbank.Streams.MultiplexingStream'. at Microsoft.Verify.NotDisposed(IDisposableObservable disposedValue, String message) at Nerdbank.Streams.MultiplexingStream.CreateChannel(ChannelOptions options) at Microsoft.ServiceHub.Framework.MultiplexingRelayServiceBroker.RequestServiceChannelAsync(ServiceMoniker serviceMoniker, ServiceActivationOptions options, CancellationToken cancellationToken) --- End of inner exception stack trace ---requestServiceChannel9030255greg-ThinkPad-E520requestServiceChannel18308greg-ThinkPad-E520Message transmission was canceled.
LeonardoX77 commented 3 months ago

I hope this helps someone. I had the same issue on MacOs, no definition found for when pressing F12 and no Intellisense, the C# Extension log didn't load my projects:

Using dotnet configured on PATH
Dotnet path: /usr/share/dotnet/dotnet
Activating C# + C# Dev Kit + C# IntelliCode...
waiting for named pipe information from server...
[stdout] {"pipeName":"/tmp/ce38c82b.sock"}
received named pipe information from server
attempting to connect client to server...
client has connected to server

I had several dotnent sdk versions installed

% dotnet --list-sdks
6.0.408 [/usr/local/share/dotnet/sdk]
6.0.412 [/usr/local/share/dotnet/sdk]
7.0.203 [/usr/local/share/dotnet/sdk]
7.0.306 [/usr/local/share/dotnet/sdk]
8.0.101 [/usr/share/dotnet/sdk]

but I realized the same project was working in Ubuntu, so I checked dotnet sdk versions and I had only 8.0.101, so back to MacOs I removed all versions except latest,

sudo rm -rf /usr/local/share/dotnet/sdk/6.0.408/
sudo rm -rf /usr/local/share/dotnet/sdk/6.0.412/
....

reopened vscode and C# Extension loads my projects and everything is working properly! So I guess C# extension doesn't work properly when there are more than one dotnent sdks installed?

Using dotnet configured on PATH
Dotnet path: /usr/share/dotnet/dotnet
Activating C# + C# Dev Kit + C# IntelliCode...
waiting for named pipe information from server...
[stdout] {"pipeName":"/tmp/ce38c82b.sock"}
received named pipe information from server
attempting to connect client to server...
client has connected to server
[Info  - 12:12:28 PM] [Program] Language server initialized
[Info  - 12:12:46 PM] [WorkspaceProjectFactoryService] Project /home/leo/projects/arc-devops/deploy/tools/Arq.CiCdTools/Arq.CiCdTools.Business/Arq.CiCdTools.Business.csproj loaded by C# Dev Kit
[Info  - 12:12:47 PM] [WorkspaceProjectFactoryService] Project /home/leo/projects/arc-devops/deploy/tools/Arq.CiCdTools/Arq.CiCdTools.Tests/Arq.CiCdTools.Tests.csproj loaded by C# Dev Kit
[Info  - 12:12:47 PM] [WorkspaceProjectFactoryService] Project /home/leo/projects/arc-devops/deploy/tools/Arq.CiCdTools/Arq.CiCdTools/Arq.CiCdTools.csproj loaded by C# Dev Kit
wgrs commented 3 months ago

@LeonardoX77

On Ubuntu 23.10, I had ONLY the .NET 8 SDK and runtime installed. The ext was broken. Then @timheuer mentioned that the ext needs .Net 7 runtime, but that it installs its requirements itself.

Of course, when you run dotnet --info on Ubuntu, you get incorrect info. No matter how many SDKS you have installed, it will only show you the latest. So I manually installed .Net 7 runtime. The ext is still broken. Also, I noticed when first installing the ext, it works for a few minutes and them blows up. Is yours consistently working on Ubuntu?

Your PATH statement is different to mine on Ubuntu. What does "whereis dotnet" show on your Ubuntu and what version are you using?

LeonardoX77 commented 3 months ago

@wgrs whereis dotnet dotnet: /usr/bin/dotnet /usr/lib/dotnet /usr/share/dotnet

lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.3 LTS Release: 22.04 Codename: jammy

I installed dotnet a few weeks ago in a Clean Ubuntu with this:

# Get Ubuntu version
declare repo_version=$(if command -v lsb_release &> /dev/null; then lsb_release -r -s; else grep -oP '(?<=^VERSION_ID=).+' /etc/os-release | tr -d '"'; fi)

# Download Microsoft signing key and repository
wget https://packages.microsoft.com/config/ubuntu/$repo_version/packages-microsoft-prod.deb -O packages-microsoft-prod.deb

# Install Microsoft signing key and repository
sudo dpkg -i packages-microsoft-prod.deb

# Clean up
rm packages-microsoft-prod.deb

# Update packages
sudo apt update

# Select SDK or runtime
sudo apt install dotnet-sdk-8.0
wgrs commented 3 months ago

@LeonardoX77

Thanks - yes its the same path as mine, althought the path above in your comment was

/usr/share/dotnet/dotnet

I upgraded from Ubuntu 22.04 to 23.10 to try and get the ext working. I have done multiple full Ubuntu installs using different package managers to try and solve the issue. C# Dev Kit fails on all of them. Been at this for over 9 months now. I would probably get more functionality out of Notepad than I currently get from VSCode using the Dev Kit. When working, I remove the Dev Kit and fall back to the original ext which barely offers any functionality.

If the Dev Kit is installed, it breaks Intellisense completely, refactoring is non extent, code suggestions are gone. It's taking about 5x longer to develop. There is no help with assembly references at all so I spend 90% of my time hunting down namespaces. Also, the IDE is constantly throwing false compile errors and underlines. Of course, hot reload has never worked and that is still the case.

Have you confirmed the ext is still working for you on Ubuntu?

LeonardoX77 commented 3 months ago

@wgrs yes I have, although I had to restart vscode sometimes, strange things ... image

wgrs commented 3 months ago

@LeonardoX77

I tried starting the Language Server manually every couple of minutes but that is just clutching at straws. Its the equivalent of doing CPR when the patient is already dead.

lifengl commented 3 months ago

unfortunately I didn't see any failure in the log file related to this issue. the lacking proper logging data related to the failure itself indicates weakness, which would require some updates. I would also loop other developers know more about the RPC layer to see whether any option to turn on more verbose logging in the communication layer for further investigation.

lifengl commented 3 months ago

@wgrs : one more thing to try:

if you disable the C# DevKit, you won't get the solution explorer experience. But the C# extension alone would provide intellisense experience. I am not suggesting this is what we want in the end, but just want to verify whether the C# extension alone works in your environment to narrow down what could be wrong.

lifengl commented 3 months ago

@LeonardoX77 ,

is this a mistake when you paste the path or it happens that 8.0.101 was installed on a different path than other SDKs?


> Using dotnet configured on PATH
> Dotnet path: /usr/share/dotnet/dotnet
> ```
> 
> I had several dotnent sdk versions installed
> 
> ```
> % dotnet --list-sdks
> 6.0.408 [/usr/local/share/dotnet/sdk]
> 6.0.412 [/usr/local/share/dotnet/sdk]
> 7.0.203 [/usr/local/share/dotnet/sdk]
> 7.0.306 [/usr/local/share/dotnet/sdk]
> 8.0.101 [/usr/share/dotnet/sdk]
> ```
> 
> ```
wgrs commented 3 months ago

@lifengl The only way to use VSCode at this point is to completely remove the Dev Kit. I only install it when you request logs. Try imagine coding with no intellisense, refactoring and got to definition. Then layer ontop false error underlining or no underlining at all. I am 100% reliant on the compiler output now.

wgrs commented 3 months ago

@LeonardoX77

My understanding is this is an issue that was introduced a few versions ago. There seems to be a difference in the install paths between installing from an Ubuntu Feed or through a Microsoft feed. I reported this many times but once again, nothing was done as far as I know and the issue persists.

LeonardoX77 commented 3 months ago

@lifengl yes, It was installed on a different path than other SDKs. Don't remember exactly but I think I installed 8.0 as root due to having some problems with paths since dotnet was not recognized as a valid command when I installed for first time

lifengl commented 3 months ago

On new apple M1-M3 Mac, one of the common problems is that a x64 version SDK could be installed on the machine. It works alone, but doesn't work with C# Dev Kit (it works alone on the top of a simulation layer, but the Dev Kit is also compiled to machine native code (ARM), so it could not load X64 based assemblies within a same process.

Also, some developers installed SDK/runtimes with mixed sources (from Microsoft installer and HomeBrew). In some cases, it might not work well. DotNet depends on certain folder structures to work correctly (to locate runtime/sdks etc), so one folder is out of location indicates something wrong. But I guess it is good that you are in a working state now...

wgrs commented 3 months ago

@lifengl

Mixed Sources. This is the issue I had for months. Is it not possible for the guys to write up some clear documentation on how the SDK needs to be installed and what the correct paths should be? I think that would solve a lot of this pain. And also, how to get the machine in the correct state before a fresh install. The list of commands to completely remove all traces of .Net before a new install.

timheuer commented 3 months ago

Are you in a working state @wgrs (sorry wasn't following as I was out). If so was the ultimate issue the x64/arm SDK issue?

There seems to be a difference in the install paths between installing from an Ubuntu Feed or through a Microsoft feed. I reported this many times

Did you report this separately with the SDK? I can try to chase down why this would be the case.

wgrs commented 3 months ago

@timheuer

No, I am not in a working state. I have completely removed the Dev Kit to try and get some work done. I am not on a Mac. Im using a Lenovo Thinkpad.

baronfel commented 3 months ago

The differences in path layouts for MS-provided SDKs and Distro-provided SDKs is intended as far as I am aware, but as long as the packages are not mixed this difference in file system layout should not matter. There are mechanisms that the Runtime and SDK use to discover where to look for the SDK installs that are resilient to layout changes, like:

Again, these are consistent as long as you do not mix packages from the two sources.

Between the SDK and Runtime we're working on more ways to signal where a particular component came from so we can help detect and diagnose mixup-related problems.

wgrs commented 3 months ago

@baronfel

Ok. So why are the commands dotnet --info and dotnet --list-sdks not working? These path differences are affecting the the tools.

Also there is no clear documentation on what to do if you have fallen into the trap of having used multiple package managers. Because there are many very different ways to remove files from many different locations based on which install/ package manager was used.

The docs are still offering umpteen ways to install the SDK with lots of vague warnings and suggestions. Considering the result of the incorrect selection is so damaging ( 9 months wasted on this) , I would expect the documentation to be a lot clearer and dogmatic about the correct way to install.

lifengl commented 3 months ago

I think I can reproduce the issue seen by @LeonardoX77 on windows as well. It is not an unique problem on a specific platform, but how multiple SDKs are installed.

When NET 8 SDK is installed on a different folder than NET 7 SDK. C# DevKit may fail to start. We will work on a fix for that issue. It is not the issue @wgrs ran into (in which case, both DevKit and C# extension were loaded). I don't think the problem @wgrs ran into at this point is related to how SDK is installed (it might be a problem earlier).

timheuer commented 3 months ago

@lifengl what are suggestions to get @wgrs unblocked?

lifengl commented 3 months ago

@lifengl what are suggestions to get @wgrs unblocked?

@wgrs's issue is different. He has already got CDK to load projects, but the language service was not initialized. I wonder the JSON RPC between CDK and C# extension is broken. Unfortunately, the logging on both sides don't show anything interesting. It is very unfortunately that the logging code in CPS filtered out all IO Exceptions (not sure why, but it was there many years ago, and I wonder maybe once it was very noisy issue in VS.). I updated the logging code, but it would take time to get it into next preview.

Further more, we may need more verbose logging in the RPC layer, if it is a problem there. I looped Andrew in.

wgrs commented 3 months ago

@timheuer @lifengl

Great. Seems you are getting closer to the cause. I know the solution could be a way off but at least it's moving in the right direction.

nagilson commented 3 months ago

@wgrs

Also there is no clear documentation on what to do if you have fallen into the trap of having used multiple package managers. Because there are many very different ways to remove files from many different locations based on which install/ package manager was used.

I agree that it is frustrating and more complicated than it needs to be. We have an API that automates the install for the user on linux I created, and @mavasani is working on adding that to DevKit so hopefuly itll remove that pain point :)

https://learn.microsoft.com/en-us/dotnet/core/install/linux-package-mixup?pivots=os-linux-ubuntu#solutions This is the existing doc for changing from one method of install to another and tries to guide the user to pick whichever one is best for their desires. If there are specific suggestions you have for the doc, I'm sure people over at https://github.com/dotnet/docs who write the docs would be willing to listen.

A lot of the work around dotnet installs is handled in the core repo. For example, this is the announcement back for .NET 6 when .NET's new installation method via the built in distro feed was added: https://github.com/dotnet/core/issues/7699

wgrs commented 2 months ago

@nagilson

Thanks for those links. We are now almost 3 versions ahead in .NET and 4 versions ahead in Ubuntu. I suppose my expectation was to be patient and this stuff would get fixed, but that was naive. It seems the path issues are still a major stumbling block and the documentation is completely out of date and at best, inaccurate. I did at least 5 fresh Ubuntu installs just to get the dotnet CLI to see a SDK. ( following those docs ). I assumed the issues would get fixed in .NET 7. They did'nt. I am now running .Net 8 and nothing has changed. I am still running a half crippled IDE and I am trying to stay positive.

I dont feel that it is my responsibility to track down every team that has skin in the game and suggest they fix the issues. In the past, when I did try this, more often than not, the tickets were just closed down. It drains a lot of time when you are tracking multiple tickets across multiple teams with different levels of co-operation and different workloads.

As a consumer, I should be able to log an issue in one place, have it verified as being a genuine problem, and the stake holders should cascade the ticket to the relevant teams.

I appreciate you posting the first link above showing, in my opinion, the absurdity of the Ubuntu .NET SDK/Tools install process.

julielerman commented 2 months ago

Hey @timheuer just an FYI that I went back to August VS Code release and the code completion is back to working on my machine as I want to show a bit of it for an upcoming keynote. Luckily that part of the demo is just a stepping stone to copilot demos, so I hope the older version won't create an issue with teh copilot demos. :)

Here are details of my laptop. .NET SDK: Version: 8.0.201 Commit: 4c2d78f037 Workload version: 8.0.200-manifests.3097af8b

Runtime Environment: OS Name: Mac OS X OS Version: 12.5 OS Platform: Darwin RID: osx-x64 Base Path: /usr/local/share/dotnet/sdk/8.0.201/