Enum.Source.Generator
Enum.Source.Generator copied to clipboard
Trying to use this to generate enums in more than one csproj
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'.