avoid warning for importing pack targets twice - #1185
Conversation
|
So to clarify, the NuGet package sets the |
|
@dsplaisted no, the NuGet package sets the |
|
It seems a bit backwards that if you set the property, that causes it not to get used. Could the NuGet package set |
4d71f3c to
20f3c6f
Compare
|
@dsplaisted have made the suggested changes. here is corresponding PR for the nuget side changes: |
|
Doesn't make sense to set the Makes it very confusing to set it and not see it imported explicitly anywhere. Better just leave it unassigned |
20f3c6f to
a866098
Compare
|
@dotnet-bot test Windows_NT_FullFramework Release please. |
|
CC: @livarcocc @dsplaisted @nguerrera ..all tests passed, can we merge this? |
The fix for #888 was incomplete in the sense that if $(NuGetBuildTasksPackTargets) is defined in a target contained via the nupkg, it is already imported as a result of restore. SDK shouldn't be trying to import those targets again.
@dsplaisted @nguerrera
CC: @kzu to make sure it doesn't break nugetizer's behavior since he did the original fix.