Skip to content

Build Task Warning for build_runner #2721

@Reprevise

Description

@Reprevise

When I press Ctrl+Shift+B to run build tasks in my Flutter project, I receive a warning in my Tasks output with the following message

The task provider for "pub" tasks unexpectedly provided a task of type "flutter".

I enabled the preview setting dart.previewBuildRunnerTasks.

Are the tasks added every time a user opens the build tasks menu in a Dart file? That would be a likely cause of the warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in tasksRelates to VS Code tasks, such as those provided by Task Providersis bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions