Closed
Description
We need a long-term solution for back-compat issues when using a newer SDK to trim apps targeting older TFMs. Some issues encountered so far:
- net6.0 apps have trimming warnings #2998
- Add reference assembly for System.Private.CoreLib.dll runtime#72143 (comment)
We will hit a similar situation with planned breaking changes in 8.0, where it would be difficult to maintain a back-compat path. Maybe there are more examples, but this one comes to mind:
The solution will most likely (pending the outcome of broader discussion) be to use the 6.0 linker when targeting .net6, etc. This issue tracks the technical side of that proposed solution.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
No status