Skip to content

Include namespace as part of the generated source filename #42

@GeertvanHorrik

Description

@GeertvanHorrik

When a project contains the same view name in multiple namespaces:

  • MyNamespace1.WelcomeWizardPage
  • MyNamespace2.WelcomeWizardPage

The source generator throws an exception since it only uses the class name for the filename.

Include the namespace into the generated file. If the file becomes too long, use a shorter hash version of the namespace prefix instead.

Cover the scenario with unit tests and apply this logic to all source generators (in other words: shared logic file that contains this behavior).

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions