Skip to content

Uno Platform extension preventing VS Code tasks to run properly #12210

Closed

Description

@microhobby

Current behavior

The new version of the Uno Platform extension is for some reason preventing the opening of the tasks. Also this breaks debug sessions that have nothing about XAML or Uno Platform stuff, what is very bad microsoft/vscode#181844

With the uno platform extension enabled, opening the tasks to run does not work as expected:

Code_CZTaL0q4TA.mp4

Disabling the uno platform extension, then the tasks are shown as expected:

Code_7PGo6GzvBq.mp4

Expected behavior

The tasks list should be shown and not prevented to execute.

How to reproduce it (as minimally and precisely as possible)

  • Install the latest Uno Platform extension
  • Open any workspace that has .vscode/settings.json
  • Open the VS Code command pallet and execute the Tasks: run tasks

Workaround

Rollback to Uno Platform v0.8.1

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

No response

Affected platforms

No response

IDE

Visual Studio Code

IDE version

1.78.0

Relevant plugins

Uno Platform v0.9.4

Anything else we need to know?

No response

Activity

  1. added
    difficulty/tbd
    kind/bug
    triage/untriaged
    on May 9, 2023
  2. spouliot commented on May 9, 2023

    @spouliot
    Contributor

    This does not seems to be a general issue

    Screenshot 2023-05-09 at 9 54 36 AM

    since I get the list of tasks

    Screenshot 2023-05-09 at 9 59 59 AM

    I notice you're connected to WSL, right ? Does this also happens when you're not ?

    Can you attach the logs from all (4) the Uno Platform - * outputs ?

  3. microhobby commented on May 10, 2023

    @microhobby
    ContributorAuthor

    Hey @spouliot thanks for check this, but this was fixed from the VS Code side.
    microsoft/vscode#181844

  4. spouliot commented on May 10, 2023

    @spouliot
    Contributor

    @microhobby it's a good, general fix for VSCode but if you still can provide some details I'd like to know/diagnose what happened with our extension - it definitively should not cause a timeout :) thanks!

  5. spouliot commented on May 18, 2023

    @spouliot
    Contributor

    I have found the issue. It can also happen for debugging (non dotnet code) so VSCode fix is not a complete fix to the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

difficulty/tbdkind/bugtriage/untriaged

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions