I am developing a Windows CE App using Visual Studio 2008 and the Compact Framework 3.5.
Now I want to place the required dlls in a subfolder to the main exe file. Is that possible? This solution does not work for Windows CE.
Edit:
I want the dependencies to live in a subfolder on the client device.
Currently my folder structure looks like this (everything in a single directory)
-- folder\
------ main.exe
------ controls.dll
------ webservice.dll
------ businesslogig.dll
------ nlog.dll
what I want:
-- folder\
------ main.exe
------ lib\
--------- controls.dll
--------- webservice.dll
--------- businesslogic.dll
--------- nlog.dll
this is possible on the desktop with a setting in the app.config file:
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="lib" />
</assemblyBinding>
</runtime>