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).
When a project contains the same view name in multiple namespaces:
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).