Commit cddfada
Scope NU5052 warning to SDK projects only
Only emit the restricted package ID warning (NU5052) when
UsingMicrosoftNETSdk is true. Non-SDK projects (nuget.exe pack)
do not emit this warning.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent c63de02 commit cddfada
2 files changed
Lines changed: 2 additions & 2 deletions
File tree
- src/NuGet.Core/NuGet.Commands/CommandRunners
- test/NuGet.Core.Tests/NuGet.Commands.Test
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
| 267 | + | |
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| |||
0 commit comments