title: Why my .NET App does not load an assembly located in a folder added to the PATH environment variable?
body: <p>I have a .Net application which uses a couple of .Net dll's, these dll's are located in a folder  which is included in the PATH environment variable, but when I start my .Net App if fails with the error: </p>
  
  <p><code>Could not load file or assembly 'FxDoc.dll, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d4261664821' or one of its dependencies. The system cannot find the file specified.</code></p>
  
  <p>I already have read these MSDN entries <a href="http://msdn.microsoft.com/en-us/library/7d83bc18%28v=vs.80%29.aspx"><code>Search Path Used by Windows to Locate a DLL</code></a> and <a href="http://msdn.microsoft.com/en-us/library/ms682586%28v=vs.85%29.aspx"><code>Dynamic-Link Library Search Order</code></a> </p>
  
  <p>Which states:</p>
  
  <blockquote>
    <p>Windows then searches for the DLLs in the following sequence:</p>
    
    <p>The directory where the executable module for the current process is
    located.</p>
    
    <p>The current directory.</p>
    
    <p>The Windows system directory. The GetSystemDirectory function
    retrieves the path of this directory.</p>
    
    <p>The Windows directory. The GetWindowsDirectory function retrieves the
    path of this directory.</p>
    
    <p>The directories listed in the PATH environment variable.</p>
  </blockquote>
  
  <p>My questions are:</p>
  
  <ol>
  <li>What factors could be causing this error?</li>
  <li>Is the above information valid for .Net?</li>
  </ol>