title: KeyNotFoundException: Could not find view for WCFManager.ViewModels.SettingsViewModel
body: <p>I try to navigate in MvvmCross by using the following from my MainViewModel.cs</p>
  
  <pre><code>public IMvxAsyncCommand GoToSettingsPage =&gt; new MvxAsyncCommand(() =&gt; _navService.Navigate&lt;SettingsViewModel&gt;());
  </code></pre>
  
  <p>My SettingsViewModel.cs looks like this</p>
  
  <pre><code>public class SettingsViewModel : MvxViewModel
  {
      private readonly IMvxNavigationService _navService;
  
      public SettingsViewModel(IMvxNavigationService _navService)
      {
          this._navService = _navService;
      }
  
      public override Task Initialize() =&gt; base.Initialize();
  
      public IMvxAsyncCommand GoToMainPage =&gt; new MvxAsyncCommand(() =&gt; _navService.Navigate&lt;MainViewModel&gt;());
  }
  </code></pre>
  
  <p>And this is my SettingsView.axml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:local="http://schemas.android.com/apk/res-auto"
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:orientation="vertical"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:minWidth="25px"
  android:minHeight="25px"&gt;
  &lt;Button
      android:text="Button"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:id="@+id/button1"
      local:MvxBind="Click GoToMainPage" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>If I start up my App and load immediately into the SettingsViewModel instead of the MainViewModel, it works just fine. Navigating doesn't work though, I always get the following message:</p>
  
  <pre><code>System.Collections.Generic.KeyNotFoundException: Could not find view for WCFManager.ViewModels.SettingsViewModel
  </code></pre>
  
  <p>I understand, that it can't find the associated view by the KeyNotFoundException, but I couldn't find any way to manually associate it and according to similar issues, it associates it automatically by name. Unfortunately the name is already right and I can find views when I load them straight from the start like this</p>
  
  <pre><code>[Activity]
  public class MainView : MvxActivity
  {
      protected override void OnCreate(Bundle bundle)
      {
          base.OnCreate(bundle);
          SetContentView(Resource.Layout.MainView);
      }
  }
  </code></pre>