title: AutoWireViewModel Exception
body: <p>I am learning Prism 6.0.0 and I have problem with AutoWireViewModel Exception. 
  I have no idea how IRegionRepository is injected if I don't have any binding to this interface.</p>
  
  <p>Additionaly I am using Ninject and Entity Framework</p>
  
  <p>Whole projest is here: <a href="https://github.com/PiotrKowalski93/PrismDemo" rel="nofollow">https://github.com/PiotrKowalski93/PrismDemo</a></p>
  
  <p>I am learning from: <a href="https://www.youtube.com/watch?v=ZfBy2nfykqY" rel="nofollow">https://www.youtube.com/watch?v=ZfBy2nfykqY</a> , his code is working fine, but he is using Prism 5.7.0</p>
  
  <p>What I want is to show my EmployeesView after pressing the button.</p>
  
  <p>My Container in MainWindow.xaml</p>
  
  <pre><code> &lt;ItemsControl Grid.Row="1" prism:RegionManager.RegionName="ContentRegion" /&gt;
  </code></pre>
  
  <p>Exception is thrown during startup of the application:</p>
  
  <pre><code>prism:ViewModelLocator.AutoWireViewModel="True"
  </code></pre>
  
  <p>My Bootstraper.cs</p>
  
  <pre><code>public class Bootstrapper : UnityBootstrapper
  {
      protected override DependencyObject CreateShell()
      {
          return Container.Resolve&lt;MainWindow&gt;();
      }
  
      protected override void InitializeShell()
      {
          Application.Current.MainWindow.Show();
      }
  
      protected override void ConfigureContainer()
      {
          base.ConfigureContainer();
  
          Container.RegisterTypeForNavigation&lt;EmployeesView&gt;("Employee");            
      }        
  }
  </code></pre>
  
  <p>My App.xaml.cs file:</p>
  
  <pre><code>public partial class App : Application
  {
      protected override void OnStartup(StartupEventArgs e)
      {
          base.OnStartup(e);
  
          Bootstrapper bs = new Bootstrapper();
          bs.Run();
      }
  }
  </code></pre>
  
  <p>My MainWindowViewModel.cs</p>
  
  <pre><code>private readonly IRegionManager _regionManager;
  
  public DelegateCommand&lt;string&gt; NavigateCommand { get; set; }
  
  public MainWindowViewModel(IRegionManager regionManager)
  {
     _regionManager = regionManager;
  
      NavigateCommand = new DelegateCommand&lt;string&gt;(Navigate);
  }
  
  private void Navigate(string obj)
  {
      _regionManager.RequestNavigate("ContentRegion", obj);
  }
  </code></pre>
  
  <p>Thank you for any help!</p>