How do I make a VS solution with openCV in a custom location

It would maybe.
Anyways, I’m now copying all the .dll-s to the build target directory using a Pre-Link Event. So more or less, my problem is solved. I will now test whether the thing works with different platforms and configurations and consider the problem solved.