title: Exception : ComponentActivator: could not proxy AsFactoryImplementation.<FactoryType>
body: <p>I tried this code for implement the Factory in castle windsor, but it throws and exception as shown in title of this issue. i am following the examples of <a href="http://docs.castleproject.org/Windsor.Typed-Factory-Facility-interface-based-factories.ashx" rel="nofollow">Documentation here</a>. plz point out where i am getting wrong. </p>
  
  <pre><code>using System;
  using System.Windows.Forms;
  using Castle.Facilities.TypedFactory;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  using Castle.MicroKernel.Registration;
  using Castle.Windsor;
  
  namespace AsFactoryImplementation
  {
  interface IDummyComponnentFactory
  {
      IDummyComponnent creat();
      void Relese(IDummyComponnent factory);
  }
  
  interface IDummyComponnent
  {
      void show();
  }
  
  class DummyComponnent:IDummyComponnent
  {
      public void show()
      {
          Console.WriteLine("just testing this for better performance");
      }
  }
  
  class Program:WindsorContainer
  {
      static void Main(string[] args)
      {
          var container = new WindsorContainer();
          container.AddFacility&lt;TypedFactoryFacility&gt;();
  
          container.Register(Component.For&lt;IDummyComponnent&gt;().ImplementedBy&lt;DummyComponnent&gt;().Named("FirstConnection").LifeStyle.Transient
              ,Component.For&lt;IDummyComponnentFactory&gt;().AsFactory());
  
          var val = container.Resolve&lt;IDummyComponnent&gt;();
          val.show();
  
          var val2 = container.Resolve&lt;IDummyComponnentFactory&gt;();
  
      }
  }
  </code></pre>
  
  <p>}</p>