Paket icon indicating copy to clipboard operation
Paket copied to clipboard

use nuget CPM to enable strict package reference on direct dependencies

Open antymon4o opened this issue 1 year ago • 2 comments

This PR fixes issue references: strict either does not work, or does not work as expected #2257

In Paket.Restore.targets based on ManagePackageVersionsCentrally property:

  • add condition on Package reference to include direct only packages
  • add condition on Version element to be used only when ManagePackageVersionsCentrally not is enabled
  • add package version items for all the packages in ref file

In RestoreProcess.fs - the changes are similiar to those in Paket.Restore.targets

antymon4o avatar Mar 25 '24 17:03 antymon4o

@forki @agross Is it possible for you to have a look at this PR and tell you opinion on the approach? Thank you very much! 😊

antymon4o avatar Apr 01 '24 11:04 antymon4o

👋 @forki, can I draw your attention to this PR, please? Or if someone else can review this PR, would you forward it or tag him/her? I would greatly appreciate any attention. Thanks again.

antymon4o avatar Apr 17 '24 15:04 antymon4o

Thanks

forki avatar Nov 11 '24 06:11 forki