C
C#8mo ago
sakyce

✅ [SOLVED] Solution Explorer is Empty :(

40 Replies
kurumi
kurumi8mo ago
did u open solution or folder?
sakyce
sakyceOP8mo ago
I am using Visual Studio Code for the first time, and I have installed those extensions @kurumi Here is what I tried to do I also have installed those packages
kurumi
kurumi8mo ago
we need help $vscgang
MODiX
MODiX8mo ago
:vscode: 🇬 🇦 🇳 🇬
333fred
333fred8mo ago
Can you please show the output from DevKit as opposed to C#?
sakyce
sakyceOP8mo ago
Sure, here is the output of Devkit right now:
Starting Spawn .NET server...
Starting Open a solution...
Starting Open a solution with environment service...
Starting Clear environment...
Using preinstalled .NET runtime at "/usr/share/dotnet/dotnet"
.NET server started and IPC established in 1242ms
Completed Spawn .NET server (1523ms)
Completed Clear environment (2021ms)
Completed Open a solution with environment service (2082ms)
Starting Restore solution...
Completed Open a solution (2106ms)
Starting NuGet restore for the solution.
Starting command: "dotnet" restore /home/niko/Projets/PhontyPlus/PhontyPlus.sln --interactive...
Failed to listen to project initialization status: Error: Activating the "Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService (0.1)" service failed.
Completed command: "dotnet" restore /home/niko/Projets/PhontyPlus/PhontyPlus.sln --interactive (1134ms)
Completed NuGet restore.
Completed Restore solution (1135ms)
Starting Close a solution with environment service...
Completed Close a solution with environment service (3ms)
Starting Open a solution...
Starting Open a solution with environment service...
Starting Clear environment...
Completed Clear environment (2ms)
Completed Open a solution with environment service (9ms)
Starting Restore solution...
Completed Open a solution (10ms)
Starting NuGet restore for the solution.
Starting command: "dotnet" restore /home/niko/Projets/PhontyPlus/PhontyPlus.sln --interactive...
Completed command: "dotnet" restore /home/niko/Projets/PhontyPlus/PhontyPlus.sln --interactive (812ms)
Completed NuGet restore.
Completed Restore solution (812ms)
Starting Spawn .NET server...
Starting Open a solution...
Starting Open a solution with environment service...
Starting Clear environment...
Using preinstalled .NET runtime at "/usr/share/dotnet/dotnet"
.NET server started and IPC established in 1242ms
Completed Spawn .NET server (1523ms)
Completed Clear environment (2021ms)
Completed Open a solution with environment service (2082ms)
Starting Restore solution...
Completed Open a solution (2106ms)
Starting NuGet restore for the solution.
Starting command: "dotnet" restore /home/niko/Projets/PhontyPlus/PhontyPlus.sln --interactive...
Failed to listen to project initialization status: Error: Activating the "Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService (0.1)" service failed.
Completed command: "dotnet" restore /home/niko/Projets/PhontyPlus/PhontyPlus.sln --interactive (1134ms)
Completed NuGet restore.
Completed Restore solution (1135ms)
Starting Close a solution with environment service...
Completed Close a solution with environment service (3ms)
Starting Open a solution...
Starting Open a solution with environment service...
Starting Clear environment...
Completed Clear environment (2ms)
Completed Open a solution with environment service (9ms)
Starting Restore solution...
Completed Open a solution (10ms)
Starting NuGet restore for the solution.
Starting command: "dotnet" restore /home/niko/Projets/PhontyPlus/PhontyPlus.sln --interactive...
Completed command: "dotnet" restore /home/niko/Projets/PhontyPlus/PhontyPlus.sln --interactive (812ms)
Completed NuGet restore.
Completed Restore solution (812ms)
333fred
333fred8mo ago
Hmm That's an unfortunately small amount of info
sakyce
sakyceOP8mo ago
The only info that is worth to take a shot is this
Failed to listen to project initialization status: Error: Activating the "Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService (0.1)" service failed.
Failed to listen to project initialization status: Error: Activating the "Microsoft.VisualStudio.ProjectSystem.ProjectInitializationStatusService (0.1)" service failed.
Do I have to start a service related to dotnet ?
333fred
333fred8mo ago
No, that is indicating that something failed to start What version of DevKit are you on?
sakyce
sakyceOP8mo ago
latest
333fred
333fred8mo ago
Can you try switching to pre-release and see if it still happens?
sakyce
sakyceOP8mo ago
still have this I'll try to restart my absolutely Windows computer
333fred
333fred8mo ago
I'm asking the CPS guys if they're aware of anything here
sakyce
sakyceOP8mo ago
btw it's a project that I git cloned, I had created it in Visual Studio Community on Windows and I didn't had any problems. Does Microsoft maintain the dotnet-sdk package in Arch repositories ? I may have an outdated package
333fred
333fred8mo ago
No When I used arch, I generally used the AUR version that just installed the MSFT linux binaries
sakyce
sakyceOP8mo ago
Which package it was ? And wtf a Microsoft employee that uses arch how is it possible
333fred
333fred8mo ago
I'm talking to you from ubuntu right now, where I do most of my work 🙂 https://aur.archlinux.org/packages/dotnet-sdk-bin Last I checked, the dotnet-sdk in the official repo didn't offer previews, which I need
sakyce
sakyceOP8mo ago
This is incredible I thought that Microsoft employees using Linux was just an urban legend
333fred
333fred8mo ago
We may not be many, but we exist
sakyce
sakyceOP8mo ago
So I remove dotnet-sdk and I install the dotnet-sdk-bin ?
333fred
333fred8mo ago
I'm not at all certain that will solve your issue, to be clear
sakyce
sakyceOP8mo ago
Yeah it's sure If it doesn't works I'll install it through the installer extension
333fred
333fred8mo ago
I'll let you know when I hear back from the CPS guys
sakyce
sakyceOP8mo ago
oh boy i'm not downloading that package Clicking on Install SDK will trigger this
333fred
333fred8mo ago
I think that's the longest I've ever seen that package go without an update. It's usually within an hour or two
sakyce
sakyceOP8mo ago
I also use this version of visual studio code binary
333fred
333fred8mo ago
Huh, I see there was a bit of maintainer burnout earlier this year
sakyce
sakyceOP8mo ago
do you mean that FOSS is like a Ponzi scheme?
333fred
333fred8mo ago
No, I mean I looked at the comments on https://aur.archlinux.org/packages/dotnet-sdk-bin
sakyce
sakyceOP8mo ago
Who are the CPS guys btw ? (what does CPS stands for)
333fred
333fred8mo ago
Common Project System
reflectronic
reflectronic8mo ago
you're on arch? yes, i just solved this issue yesterday if you do not have ASP.NET installed then dev kit does not work arch doesn't seem to have a simple "install everything" package so it comes separately you need to install aspnet-runtime @sakyce sorry fred i do not have the issue link and i do not feel like finding it
reflectronic
reflectronic8mo ago
GitHub
[ISSUE] - ProjectInitializationStatusService Failed · Issue #1113 ·...
Describe the Issue Currently using "Remote SSH" extension to write code remotely. However, I'm seeing the following error when loading the project: Failed to listen to project initial...
sakyce
sakyceOP8mo ago
I absolutely don't use ASP.NET (I only do BepInEx modding) and I need to install that package 😭
reflectronic
reflectronic8mo ago
hopefully you can spare 20 megabytes on your hard drive
sakyce
sakyceOP8mo ago
Yep, this fixed my issue thanks 👍 Lets see if I can build the project!
333fred
333fred8mo ago
Yeah, the CPS folks just linked me the same issue, they're working on a fix
sakyce
sakyceOP8mo ago
Alright thanks! I also built the project with success!!! For other people that have the same problem the fix is here. A fix is being worked on.
333fred
333fred8mo ago
When you message after using close, it unarchives the thread You'll have to archive again
sakyce
sakyceOP8mo ago
oh sorry
Want results from more Discord servers?
Add your server