title: WPF C# application, .xaml file error. Missing assembly reference
body: <p>I have a few similar errors in my .xaml files. 
  Here is the error message:
  The type 'vm:MainViewmodel' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. Can anybody help me?</p>
  
  <blockquote>
    <p>
  
  <pre><code>         xmlns:vm="clr-namespace:GoogleMap.ViewModel" 
           x:Class="GoogleMap.App"
           StartupUri="MainWindow.xaml"&gt;  
  &lt;Application.Resources&gt;
      &lt;vm:MainViewModel x:Key="MainViewModel"/&gt;
      &lt;BooleanToVisibilityConverter x:Key="booleanToVisibilityConverter"/&gt;
  &lt;/Application.Resources&gt;     &lt;/Application&gt;
  </code></pre>
  </blockquote>