Skip to content

Could not find the task 'build' #2959

@0xAlex

Description

@0xAlex

Environment data

dotnet --info output:
.NET Core SDK (reflecting any global.json):
Version: 2.2.105
Commit: 7cecb35b92

Runtime Environment:
OS Name: Windows
OS Version: 10.0.17763
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\2.2.105\

Host (useful for support):
Version: 2.2.3
Commit: 6b8ad509b6

.NET Core SDKs installed:
2.2.105 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.2.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.2.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.2.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

VS Code version: 1.32.3
C# Extension version: 1.18.0

Steps to reproduce

1 Open up the terminal
2 type in "dotnet new console"
3 Press F5, and the launch.json will pop up
4 Press F5 again

Expected behavior

Terminal displaying "Hello World!"

Actual behavior

The dialog box "Could not find the task 'build'" pops up and when I click Configure Task, a message on the right above the VSCode status bar saying "this.runConfigureTasks" is not a function

Screenshot 1

Screenshot2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions