Skip to content

Add source generator from local dll into C# project? #49820

Answered by PathogenDavid
acaly asked this question in Q&A
Discussion options

You must be logged in to vote

You can add an analyzer/source generator directly by adding an Analyzer item. IE:

<ItemGroup>
  <Analyzer Include="Path/To/Your/Analyzer.dll" />
</ItemGroup>

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@acaly
Comment options

@SSASA-MOVIL
Comment options

Answer selected by acaly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants