Commit c9d37e6
Multi-target Microsoft.EntityFrameworkCore.Tools for net8.0, net9.0, net10.0
Add per-TFM dependency groups in the nuspec so that the appropriate
version of Microsoft.EntityFrameworkCore.Design is resolved based on
the consumer's target framework:
- net8.0 → Design >= 8.0.0
- net9.0 → Design >= 9.0.0
- net10.0 → Design >= 10.0.0
This prevents MissingMethodException when the Tools package pulls in a
Design version incompatible with the user's other EF Core packages.
Fixes #38107
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent a5607a4 commit c9d37e6
3 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
10 | 16 | | |
11 | 17 | | |
12 | 18 | | |
| |||
Whitespace-only changes.
Whitespace-only changes.
0 commit comments