title: Problem seen creating View-ViewModel lookup table - you have more than one View registered for the ViewModels
body: <p>I started an Xamarin.Froms project with MvvmCross. I followed the documentation on the offical MvvmCross website to start the Android project with Xamarin.Forms. Here  is my code in my <code>Core</code> project:</p>
  
  <pre><code>public class App : MvxApplication
  {
      public App()
      {
  
      }
  
      public override void Initialize()
      {
          base.Initialize();
  
          Mvx.IoCProvider.RegisterSingleton(new NavigationStack());
          Mvx.IoCProvider.RegisterSingleton&lt;IMvxAppStart&gt;(new MvxAppStart&lt;MainViewModel&gt;(this, Mvx.IoCProvider.Resolve&lt;IMvxNavigationService&gt;()));
      }
  }
  
  public class MainViewModel : BaseViewModel
  {
      public MainViewModel(NavigationStack navigationStack) : base(navigationStack)
      {
      }
  }
  </code></pre>
  
  <p>Code that's in my <code>Forms</code> project:
  <code>MainView.xaml</code>:</p>
  
  <pre><code>&lt;views:MvxContentPage x:TypeArguments="viewModels:MainViewModel"
  xmlns="http://xamarin.com/schemas/2014/forms" 
  xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" 
  xmlns:views="clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms"
  xmlns:mvx="clr-namespace:MvvmCross.Forms.Bindings;assembly=MvvmCross.Forms"
  xmlns:viewModels="clr-namespace:MyApp.Core.ViewModels;assembly=MyApp.Core"
  x:Class="MyApp.Forms.Views.MainView"&gt;
  
      &lt;ContentPage.Content&gt;
          &lt;StackLayout Margin="10"&gt;
              &lt;Label Text="Subtotal" /&gt;
          &lt;/StackLayout&gt;
      &lt;/ContentPage.Content&gt;
  
  &lt;/views:MvxContentPage&gt;
  </code></pre>
  
  <p><code>MainView.xaml.cs</code>:</p>
  
  <pre><code>public partial class MainView : MvxContentPage&lt;MainViewModel&gt;
  {
      public MainView()
      {
          InitializeComponent();
      }
  }
  </code></pre>
  
  <p>In my Android project:</p>
  
  <pre><code>[Activity(
      Label = "MyApp.Droid",
      Theme = "@style/MyTheme",
      MainLauncher = true,
      ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation,
      LaunchMode = LaunchMode.SingleTask)]
  public class MainActivity : MvxFormsAppCompatActivity&lt;MvxFormsAndroidSetup&lt;Core.App, Forms.App&gt;, Core.App, Forms.App&gt;
  {
      protected override void OnCreate(Bundle bundle)
      {
          TabLayoutResource = Resource.Layout.Tabbar;
          ToolbarResource = Resource.Layout.Toolbar;
          base.OnCreate(bundle);
      }
  }
  </code></pre>
  
  <p>It compiles, but when I launch the app I get the exception:</p>
  
  <blockquote>
    <p>MvvmCross.Exceptions.MvxException: Problem seen creating
    View-ViewModel lookup table - you have more than one View registered
    for the ViewModels: 2*MainViewModel (MainActivity,MainView)</p>
  </blockquote>