Closed brantburnett closed 1 year ago
When trim-compatible constructs are used we should mark the generated assembly as trim-compatible.
Automatically mark generated assemblies as trim compatible when:
For now, only the MicrosoftExtensionsHttp extension produces trim-compatible code.
Assemblies produced without JSON serialization are trim-compatible. Further work will need to be done to make System.Text.Json compatible.
/merge
Motivation
When trim-compatible constructs are used we should mark the generated assembly as trim-compatible.
Modifications
Automatically mark generated assemblies as trim compatible when:
For now, only the MicrosoftExtensionsHttp extension produces trim-compatible code.
Results
Assemblies produced without JSON serialization are trim-compatible. Further work will need to be done to make System.Text.Json compatible.