Open zhiyuanliang-ms opened 5 days ago
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
Migrate #2057 to SDK repo
Is your feature request related to a problem? Please describe.
Why this feature is needed:. When run 'dotnet format' in multi target project, there may cases where format tool can not merges the changes in multi frameworks eg net6, net472 and had to add unhelpful comments like:
Even worse, the unmerged change will not be logged.
See #1634
Describe the solution you'd like
It is great if we can avoid such problems by passing framework option in commandLine , e.g:
Additional context
This behavior makes
dotnet format
unuseable for multi-target projects.