title: Self-Hosting WCF and System.ServiceModel.FaultException
body: <p>I have a simple WCF Service Library Project (call this Project W) with a handful of DLLs in directory X. I set the startup directory of W to X, all methods work correctly using WcfServiceHost in Visual Studio 2010. </p>
  
  <p>I want to self-host W, so, I created a console Project (call this Project C), added a reference to W, set the startup directory of W to X, then have essentially the following main lines of code</p>
  
  <pre><code>var host = new ServiceHost(typeof(EvalService));
  host.Open();
  </code></pre>
  
  <p>When I now test the methods in W, I am getting <code>System.ServiceModel.FaultException</code> with <code>{"The specified module could not be found. (Exception from HRESULT: 0x8007007E)"}</code>.</p>
  
  <p>What can this mean? How can I tell what module it is trying to load? </p>
  
  <p>I am fairly new to both C# and WCF, any hint would be apprecited. </p>