cmake --build: prioritize --resolve-package-references over preset

Merged Carsten Rudolph requested to merge crud89/cmake:vs-package-restore-docs into master

Specifying --resolve-package-references in command line will now overwrite any preset setting resolvePackageReferences. Furthermore, I've updated the docs to clarify what package reference currently refers to in this context.

Fixes: #23223 (closed), #23224 (closed)
Backport: release

Edited by Brad King

Merge request reports