title: How to chage default directory of .dlls creating after built with runtime and probing?
body: <p>I want to move all .dlls to "lib" folder after building my application. Default program creates them in directory:</p>
  
  <blockquote>
    <p>bin\Debug\netcoreapp2.2</p>
  </blockquote>
  
  <p>And this is directory where I want to place my .dlls: </p>
  
  <blockquote>
    <p>bin\Debug\netcoreapp2.2\lib</p>
  </blockquote>
  
  <p>I create script which moves my .dlls to this folder and put it in post-built event. It works correctly. </p>
  
  <p>Next, I add runtime to my app.config file like I saw in many tutorials and articles on stackoverflow. </p>
  
  <pre><code>&lt;runtime&gt;
  &lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;
    &lt;probing privatePath="lib"/&gt;
  &lt;/assemblyBinding&gt;
  &lt;/runtime&gt;
  </code></pre>
  
  <p>But, after building and starting my program, console says: </p>
  
  <blockquote>
    <p>The application to execute does not exist:
    <em>app\bin\Debug\netcoreapp2.2\myDLL.dll</em></p>
  </blockquote>
  
  <p>I want to know what's wrong with my application? How can I change the directory in which program is looking for .dlls?</p>