title: Log4Net and GAC - How to reference Configuration Files?
body: <p>I am using log4net during my development, as as part of a project constraint, I now need to add it to the Global Assembly Cache.</p>
  
  <p>The logging definitions are in a file Log4Net.xml.  That file is referenced in my assemblyinfo as: [assembly: log4net.Config.XmlConfigurator(ConfigFile = "Log4Net.xml", Watch = true)].  So long as the xml file was in the same directory as the log4net.dll, everything has been working fine.</p>
  
  <p>However now that I've added log4net to the GAC, it is no longer picking up the xml file.</p>
  
  <p>Does anyone know what I need to change in order to have it pick up the XML file again?  Is hardcoding the patch in the assembly reference the only way?</p>
  
  <p>Many thanks</p>