Closed mwpowellhtx closed 6 years ago
I guess that Generators project could take dependency on Attributes project and I could use the nameof
operator, but I think until one of the recent updates the CodeGeneration.Roslyn
tool wasn't able to load any assemblies for generator's dependencies, just the generator itself. Since that update it's possible to have any dependencies you'd like, so yeah, it may be a better way now.
Good to know. I'll keep this in mind as I'm sifting through what I'd like my analyzers/generators to do and be about. Thanks! :+1:
I see that there is a lot of hard coding for names and such going on. Is this necessary? Is it possible to carry with it a dependency on the base assembly? That is to at least have some access to the actual type names?