Packaging Development-game Cannot open input file 'libsndfile-1.lib'

Turns out the problem was in my .uproject file. I had included “AnimGraph” as one of the AdditionalDependencies. Removed this and everything compiled fine.