Skip to content

error CS0103: The name 'Host' does not exist in the current context #33265

@pappasa

Description

@pappasa

In .NET Core 3.1 and .NET 5 I get the compile error:

error CS0103: The name 'Host' does not exist in the current context

I had to install the package Microsoft.AspNetCore.App to compile.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.


Associated WorkItem - 58180

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions