https://github.com/dotnet/sdk/blob/master/src/Tasks/Microsoft.NET.Build.Tasks/sdk/Sdk.targets#L49
NuGetBuildTasksPackTargets should check for whether it is already set or not before assigning a value. This allows someone to add a PackageReference to a OOB release of NuGet.Build.Tasks.Pack and set this property themselves.
https://github.com/dotnet/sdk/blob/master/src/Tasks/Microsoft.NET.Build.Tasks/sdk/Sdk.targets#L49
NuGetBuildTasksPackTargetsshould check for whether it is already set or not before assigning a value. This allows someone to add a PackageReference to a OOB release of NuGet.Build.Tasks.Pack and set this property themselves.