title: .NET Load assemblies at runtime Again
body: <p>I posted a similar question a time ago. I need to load an assembly at runtime.</p>
  
  <p>This is easy if I know the absolute path of the dll at runtime.</p>
  
  <p>But I dont :( The assembly.Load() or LoadFromFile() fails if the file is not in the application root.</p>
  
  <p>The only thing I have is the dll name. The dll could be located in the root, system32 or in even in the GAC. </p>
  
  <p>Is it possible for .net to automatically determine where the dll is at, like for example :
  it should first look in the root. If its not there move on to the system folders, else try the GAC.</p>
  
  <p><strong>EDITED</strong></p>
  
  <p>I am using plug-in architecture. I do not need to register the dll. I have a multi user application. I have a applications table containing information regarding applications. Each application has a dll path associated with it, containing certain algorithms associated with that app. Hope this helps.</p>