regarding vcpkg
: I copied my solution and all its projects to a new drive. Now all the hard links are gone, and I have duplicate files. How to fix?
#5274
Unanswered
AltitudeApps
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think I did something dumb: I copied my solution from C: to D: using robocopy. But apparently,
vcpkg
wisely uses hard links to cut down on duplicated files, and to ensure that when a file gets updated, it gets instantaneously updated in all the locations where it exists.Copying the tree from one volume to another has broken all these links.
Does anybody know how to cause
vcpkg
to redo all of its magic?Or am I stuck with re-cloning the entire repo, and starting from scratch?
I also asked over in the
vcpkg
repo's discussion page, where I went into greater detail:#microsoft/vcpkg#44165
I have some other projects which came with when I copied the
winget-cli
solution, including thevcpkg
project itself, which I built a month or so ago for unrelated reasons. This is why I'd like to restore these projects to the expected state without redoing everything, if at all possible.Beta Was this translation helpful? Give feedback.
All reactions