Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VS Code] Stuck loading projects #18139

Closed
kazo0 opened this issue Sep 6, 2024 · 16 comments
Closed

[VS Code] Stuck loading projects #18139

kazo0 opened this issue Sep 6, 2024 · 16 comments
Assignees
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working

Comments

@kazo0
Copy link
Contributor

kazo0 commented Sep 6, 2024

Current behavior

Plugin forever loading Projects?
I'm noticing that I need to always manually invoke the Select Active Project in the command palette. Otherwise it just stays stuck loading the Projects:

image

I don't see anything in any of the logs

Workaround

Reverting C# Dev Kit to 1.9.55 make projects load properly.

Use the Uninstall/Install another version to revert the update:
image

@kazo0 kazo0 added kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. labels Sep 6, 2024
@agneszitte
Copy link
Contributor

@spouliot let us know if you have some input on this, please

@agneszitte
Copy link
Contributor

agneszitte commented Sep 6, 2024

fyi @jeromelaban seems to happen with latest Uno.Sdk 5.3.108 (cf. @mcNets comment here #18078 (comment)), but also @jhanvi03 was also able to reproduce it with Uno.Sdk 5.3.99 on her side yesterday (see her comment here)

@agneszitte
Copy link
Contributor

agneszitte commented Sep 6, 2024

fyi @jeromelaban to happen with latest Uno.Sdk 5.3.108 (cf. @mcNets comment here #18078 (comment)) and normally @jhanvi03 was also able to reproduce it with Uno.Sdk 5.3.99 on her side yesterday (see her comment here)

Maybe related to the latest VS Code update from yesterday, August version 1.93, as @jhanvi03 started to notice the issue with this new version.
(She said that on her side she did not have this issue previously with uno.Sdk 5.3.99 and 5.3.108 + uno extension 0.15.6 with previous VS Code version 1.92)

@kazo0, @mcNets did you update VS Code to latest version 1.93 on your side yesterday?

@dr1rrb
Copy link
Member

dr1rrb commented Sep 6, 2024

Using vs code 1.93.0 and uno extension 0.15.6 I've no issue on my side

Re-tested using a new project, this is actually failing also on my side, including if I rollback to 5.3.99 (and same with 5.3.31) ...

@mcNets
Copy link
Contributor

mcNets commented Sep 6, 2024

@agneszitte yes, I did.

@agneszitte agneszitte removed the triage/untriaged Indicates an issue requires triaging or verification label Sep 6, 2024
@dr1rrb
Copy link
Member

dr1rrb commented Sep 6, 2024

FYI Still failing with latest branch of our vs code extension (including with 5.3.31)

@agneszitte
Copy link
Contributor

Also I just remembered that VS Code auto update by default if the default settings are not changed
https://code.visualstudio.com/Docs/supporting/faq#_how-do-i-opt-out-of-vs-code-autoupdates

@jeromelaban
Copy link
Member

jeromelaban commented Sep 6, 2024

It's worth noting that this particular UI is not an Uno feature, and is provided by devkit, it's likely we won't be able to fix anything there, and will have to wait for the C# DevKit team to fix it. There's no issue yet.

@jhanvi03
Copy link

jhanvi03 commented Sep 6, 2024

We have tested with older/previous VS code version and C# DevKit version and issue seems to be with new version of C# Devkit.

VS Code Version C#DevKit Version Project Load Issue
1.92.2 1.10.16 Exist
1.92.2 1.9.55 Does Not Exist
1.93.0 1.10.16 Exist
1.93.0 1.9.55 Does Not Exist

@jeromelaban
Copy link
Member

This may then be somehow related to microsoft/vscode-dotnettools#1436.

@spouliot
Copy link
Contributor

spouliot commented Sep 6, 2024

I filed an issue with MS last week when using a pre release version of dev kit.

Looks like they have gone ahead with the release without fixing the issue :(

@jeromelaban
Copy link
Member

@spouliot could you link the issue please?

@mcNets
Copy link
Contributor

mcNets commented Sep 7, 2024

I got the issue with 5.3.108, but if I downgrade to 5.3.99 it runs with no other actions.

I'm on 1.93.0-insider

@spouliot
Copy link
Contributor

spouliot commented Sep 7, 2024

@spouliot could you link the issue please?

microsoft/vscode-dotnettools#1391

@spouliot
Copy link
Contributor

Updating the Microsoft C# DevKit to version 1.11.9 (pre-release) will fix the issue.

@spouliot
Copy link
Contributor

Updating Microsoft C# DevKit to stable 1.11.14 works fine, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants