Skip to content

Classes in the global namespace seem to be ignored #230

@donmurta

Description

@donmurta

I've been burnt by this a few times when setting up a project and think I've found the cause. If I add a class or record to a class without a namespace and annotate it it won't generate any output for that class. Once it's in a namespace (explicit or file scoped) it seems to work fine.

Always seems to stump me a for a while when setting up a new project then magically resolves itself a little farther in the process.

Ninja edit: I'm using dotnet-typegen generate to do the actual generation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions