<p>My application dynamically loads assemblies at runtime from specific subfolders. These assemblies are compiled with dependencies to other assemblies. The runtime trys to load these from the application directory. But I want to put them into the modules directory.</p>

<p>Is there a way to tell the runtime that the dlls are in a seperate subfolder?</p>

You can use the
```
<probing>
```
element in a manifest file to tell the Runtime to look in different directories for its assembly files.
http://msdn.microsoft.com/en-us/library/823z9h8w.aspx
e.g.:
```
```
<configuration>
 <runtime>
  <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
     <probing privatePath="bin;bin2\subbin;bin3"/>
  </assemblyBinding>
 </runtime>
</configuration>
```
```