Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to use this to generate enums in more than one csproj #89

Open
cconner100 opened this issue Jun 11, 2024 · 1 comment
Open

Trying to use this to generate enums in more than one csproj #89

cconner100 opened this issue Jun 11, 2024 · 1 comment

Comments

@cconner100
Copy link

I would like to have enums generated in separate projects but i am getting this warning and cant seem to find the generated enums

warning CS0436: The type 'EnumGeneratorAttribute' in 'E:\ZiiDMSV2\V2\Client\Common\ReceiptPrinter\obj\Debug\net8.0\Supernova.Enum.Generators\Supernova.Enum.Generators.EnumSourceGenerator\EnumGeneratorAttribute.g.cs' conflicts with the imported type 'EnumGeneratorAttribute' in 'ZiiDMSApp.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'E:\ZiiDMSV2\V2\Client\Common\ReceiptPrinter\obj\Debug\net8.0\Supernova.Enum.Generators\Supernova.Enum.Generators.EnumSourceGenerator\EnumGeneratorAttribute.g.cs'.

@nathanAjacobs
Copy link

I'm also having this issue, the attribute really should just be provided in it's own runtime assembly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants