Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
Honoring the devDep for our NuGet.Build.Packaging nuget
Browse files Browse the repository at this point in the history
Until this issue is fixed by the Nuget.Client team:

NuGet/Home#4125 (comment)
  • Loading branch information
adalon authored and kzu committed Feb 23, 2017
1 parent c46ff5b commit 9b24856
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,11 @@ public void AddOrUpdate(string bstrName, string bstrVersion, Array pbstrMetadata
item.SetMetadataValue(VersionMetadataName, bstrVersion);
for (int i = 0; i < pbstrMetadataElements.Length; i++)
item.SetMetadataValue((string)pbstrMetadataElements.GetValue(i), (string)pbstrMetadataValues.GetValue(i)); ;
item.SetMetadataValue((string)pbstrMetadataElements.GetValue(i), (string)pbstrMetadataValues.GetValue(i));
// Hack/fix for: https://github.com/NuGet/Home/issues/4125#issuecomment-282023729
if (bstrName == Constants.NuGet.BuildPackagingId)
item.SetMetadataValue("PrivateAssets", "all");
}, lockType: LockType.Write);
}
Expand Down

0 comments on commit 9b24856

Please sign in to comment.