title: Akka.DI.Autofac did not create actor
body: <p>I am trying to set up DI followed by official akka.net document (<a href="http://getakka.net/docs/Dependency%20injection#autofac" rel="nofollow noreferrer">http://getakka.net/docs/Dependency%20injection#autofac</a>). However Actors never create. What's wrong in the following my code?</p>
  
  <pre><code>public class Worker: ReceiveActor
  {
      public Worker()
      {
          Receive&lt;string&gt;(m =&gt; Console.WriteLine("Worker is working"));
      }
  }
  
  public class WorkerManager : ReceiveActor
  {
      public WorkerManager()
      {
          Receive&lt;string&gt;(m =&gt; Console.WriteLine("Manager start supervise"));
      }
  
      protected override void PreStart()
      {
          Context.ActorOf(Context.DI().Props&lt;Worker&gt;(), "Worker1");
      }
  }
  
  class Program
  {
      static void Main(string[] args)
      {
          ContainerBuilder builder = new ContainerBuilder();
          builder.RegisterType&lt;Worker&gt;();
          builder.RegisterType&lt;WorkerManager&gt;();
  
          var system = ActorSystem.Create("DiTestSystem");
  
          IContainer container = builder.Build();
          IDependencyResolver resolver = new AutoFacDependencyResolver(container, system);
          var manageRef = system.ActorOf(system.DI().Props&lt;WorkerManager&gt;(), "Manager1");
  
          manageRef.Tell("Hello");
          system.ActorSelection("/user/Manager1/Worker1").Tell("Hello");
  
          Console.ReadLine();
      }
  }
  </code></pre>
  
  <p>When run the code, I got this</p>
  
  <p>[INFO][24/04/2017 1:50:11 AM][Thread 0006][akka://DiTestSystem/user/Manager1/Worker1] Message String from akka://DiTestSystem/deadLetters to akka://DiTestSystem/user/Manager1/Worker1 was not delivered. 1 dead letters encountered.
  Manager start supervise</p>