You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to be able to turn off the attributes so we can reference other libs in our solution that already have unitgenerator installed and still be able to use the InternalsVisibleTo feature.
e.g.
Lib A <-- consumes -- Lib B [InternalsVisibleTo(LibA)]
Lib A and Lib B both use UnitOf<> and reference unitgenerator
This setup results in a LibA compilation error:
The type 'UnitGenerateOptions' in 'UnitGenerator\UnitGenerator.SourceGenerator2\UnitOfAttribute.g.cs' conflicts with the imported type 'UnitGenerateOptions' in 'LibB, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'UnitGenerator\UnitGenerator.SourceGenerator2\UnitOfAttribute.g.cs'.
It would be great to be able to turn off the attributes so we can reference other libs in our solution that already have
unitgenerator
installed and still be able to use theInternalsVisibleTo
feature.e.g.
Lib A and Lib B both use UnitOf<> and reference unitgenerator
This setup results in a LibA compilation error:
See this post here: https://andrewlock.net/creating-a-source-generator-part-8-solving-the-source-generator-marker-attribute-problem-part2/
The text was updated successfully, but these errors were encountered: