Commit 0c7431f
Avoid build failures when .NET 462 targeting pack is missing
These two test projects multitarget net462 on Windows, but if the
targeting pack is missing, the build will fail. This can be avoided
by installing the reference assemblies package, which will automatically
provide the right dependencies according to the TFM.
Rather than depending on Microsoft.NETFramework.ReferenceAssemblies.net462,
this adds the metapackage, which will automatically pick the right dependency
if the projects are ever updated (i.e. to net472, which sounds like it would
be a good idea.
Fixes #12521 parent 3a9d4dd commit 0c7431f
File tree
2 files changed
+2
-0
lines changed- src
- System.CommandLine.Hosting.Tests
- System.CommandLine.Tests
2 files changed
+2
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
0 commit comments