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
Hello, I would like to pack a Roslyn source generator that I wrote along with another project containing the attributes for said generator into one package. The source generator project does not depend on the other project, as recommended to me by the Roslyn team.
I have decided to create a third project capturing these two projects:
However, when I attempt to consume the resulting package, NuGet tries to fetch MyProject.SourceGenerators and MyProject.SourceGenerators.Core as individual packages themselves.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, I would like to pack a Roslyn source generator that I wrote along with another project containing the attributes for said generator into one package. The source generator project does not depend on the other project, as recommended to me by the Roslyn team.
I have decided to create a third project capturing these two projects:
However, when I attempt to consume the resulting package, NuGet tries to fetch
MyProject.SourceGenerators
andMyProject.SourceGenerators.Core
as individual packages themselves.Why? What am I doing wrong? How do I fix this?
Beta Was this translation helpful? Give feedback.
All reactions