visual studio - Relative paths to DLL's for the built app -
i wonder if it's possible create this...
i have project in vs2012
uses 2 referenced vs
projects (dlls
beingness created during compilation) , other dlls
(external libraries etc.). want clean compilation , place dlls
in 2 folders: e.g. internals
, externals
.
how create possible? problem compiled .exe
app file wants dlls
placed in main folder (near it) - if needs load library dll
crashes...
i tried find in web, ppl inquire copying dlls
reference folders output folder. that's not want do:/
ok, have found solution. need add together new item app.config
, specify privatepaths
:
<?xml version="1.0" encoding="utf-8" ?> <configuration> <runtime> <assemblybinding xmlns="urn:schemas-microsoft-com:asm.v1"> <probing privatepath="internalsfolder;externalsfolder" /> </assemblybinding> </runtime> </configuration>
visual-studio reference visual-studio-2012 relative-path
No comments:
Post a Comment