Repository navigation
Move command handler generator anchor into its own assembly - #1491
Conversation
|
Does this mean that you will get an extra tiny assembly in the output if one uses source generators? I think that it is unfortunate. I think we should aim for the System.CommandLine + source generator to be the lean and mean path that we recommend for best performance. Adding a small extra assembly to enable source generators is working against that. cc @adamsitnik |
|
@jkotas that is correct, at least at present. The idea is we want to make sure this is in fact the right source generator before baking it into the main library. There are some other approaches that also leverage source generators in a similar fasion to make building out your Parser and handlers easier. Eventually we may land with something in the core library after these approaches have had a little time to be tested out. |
| enablePublishBuildAssets: true | ||
| enableTelemetry: true | ||
| enableSourceBuild: true | ||
| enableSourceBuild: false |
There was a problem hiding this comment.
Why was source-build disabled? This has caused ripple effects - dotnet/installer#12757 (comment)
This separates out the generator's anchor into its own assembly so that we don't clutter up the main project with generator specific code.