Commit 084c9c7
fix(cli): add workaround for PackAsTool + net10.0-windows (#396)
Add MSBuild targets that temporarily clear TargetPlatformIdentifier during
pack validation, allowing PackAsTool to work with UseWindowsForms.
Workaround from: dotnet/sdk#12055 (comment)
This allows the CLI to remain a dotnet tool while keeping the system tray feature.
Co-authored-by: Stefan Broenner <[email protected]>1 parent 6f80344 commit 084c9c7
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
103 | 118 | | |
0 commit comments