visual studio - "Always Copy" solution content (DLLs) to executable directory root -
by way of background, i'm trying 1 of emgu cv examples working. motion detection example mentioned in the answer "looking function motion detection on emgucv"
to example code working need add references emgu cv dlls project , make sure relevant open cv dlls copied output executable directory of project build. relevant dlls listed on emgu wiki.
i'm adding open cv dlls adding them content example project , marking them "copy always" in content properties:
i not want these cluttering root level of project have added project folder put these dlls in:
however when build project dlls copied same directory hierarchy, i.e. have enclosing folder within execution directory not want:
what properties need set ensure dlls copied execution directory root rather in sub directory?
========== edit ==========
note cannot add these dlls references project neither .net assemblies nor com components open cv c++ libraries.
our group keeps files in folder similar you, instead of adding folder project, reference these dlls in main project adding items link top level of folder:
as before, set each item content , copy always (items shown in solution folder):
then when build make output directory:
it isn't pretty--you still see them in main project--but @ least puts them in right place.
Comments
Post a Comment