-
I want to use metadata/properties as they are described in the Source Generator cookbook. My Problem is that i cannot make it work with IncrementalSourceGenerator. Is anyone able to extend the cookbook with an example? |
Beta Was this translation helpful? Give feedback.
Answered by
333fred
Feb 12, 2025
Replies: 1 comment 2 replies
-
The incremental generator cookbook already has this example: https://github.com/dotnet/roslyn/blob/main/docs/features/incremental-generators.cookbook.md#consume-msbuild-properties-and-metadata. Are you not able to get that to work? |
Beta Was this translation helpful? Give feedback.
2 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Yes, that is the only way. The metadata comes from the consuming project.