Skip to content

WASM Blazor Error: RAZORGENERATE : error RZ3008: Tag helpers cannot target tag name '<global namespace>.  #10356

@kant2002

Description

@kant2002

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Essentially duplicate of the dotnet/aspnetcore#13881

I create tag helper in Program.cs to play with custom component and have less ceremony, and this is what I got for mu curiosity.

CSC : error RZ3008: Tag helpers cannot target tag name '<global namespace>.НазваСторінки' because it contains a '<' character.

Expected Behavior

I would like to be able define components without namespaces and let Razor compiler use such classes.

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-compilerUmbrella for all compiler issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions