Skip to content

Add a note to creating a new compilation object after adding a source in source generators overviewย #27042

@Youssef1313

Description

@Youssef1313

See https://stackoverflow.com/questions/69853257/sourcegenerator-attribute-constructorarguments-is-empty.

From the OP on Discord:

image

This scenario is really very very common that I think should be noted, since this is the number 1 article in Google search results, where people will expect to find this kind of information.


Document Details

โš  Do not edit this section. It is required for docs.microsoft.com โžŸ GitHub issue linking.


Associated WorkItem - 331102

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions