title: Unity.Wcf / does not implement inherited abstract member AND no suitable method found to override
body: <p>This class was generated by NUGET after installing Unity.Wcf</p>
  
  <pre><code>public class WcfServiceFactory : UnityServiceHostFactory
      {
          protected override void ConfigureContainer(IUnityContainer container)
          {
              // register all your components with the container here
              // container
              //    .RegisterType&lt;IService1, Service1&gt;()
              //    .RegisterType&lt;DataContext&gt;(new HierarchicalLifetimeManager());
          }
      } 
  </code></pre>
  
  <p>This is the class that is being inherited:</p>
  
  <pre><code> public abstract class UnityServiceHostFactory : ServiceHostFactory
      {
          protected UnityServiceHostFactory();
  
          protected abstract void ConfigureContainer(IUnityContainer container);
          protected override ServiceHost CreateServiceHost(Type serviceType, Uri[] baseAddresses);
      }
  </code></pre>
  
  <p>Somehow I keep getting these 2 errors:</p>
  
  <blockquote>
    <p>'ServiceImplementation2.WcfServiceFactory' does not implement
    inherited abstract member
    'Unity.Wcf.UnityServiceHostFactory.ConfigureContainer(Microsoft.Practices.Unity.IUnityContainer)'</p>
  </blockquote>
  
  <p>and</p>
  
  <blockquote>
    <p>'ServiceImplementation2.WcfServiceFactory.ConfigureContainer(Microsoft.Practices.Unity.IUnityContainer)':
    no suitable method found to override</p>
  </blockquote>
  
  <p>There are no differences in the parameters.</p>
  
  <p>Even autogenerating the method gets me errors.</p>
  
  <p>I am using VisualStudio2013.</p>