title: The name "ViewModelLocator" does not exist in the namespace (universal app)
body: <p>I am developing a universal application that runs both on windows 8.1 and windows phone 8.1.</p>
  
  <p>I am experiencing the error mentioned in the title in the App.xaml file. 
  The App.xaml file is in the MyApp.Shared project and so is the ViewModel folder.
  However the error ONLY occurs in the Windows 8.1 app. The Windows Phone app runs fine which is very strange as they are running the exact same code. </p>
  
  <p>In the Windows 8.1 app I can't use the ViewModelLocator and its properties so I can't set the DataContext for any of the pages. (The Bindings can't be resolved and the app crashes anytime I try to open a page with a DataContext defined via the ViewModelLocator).</p>
  
  <p>Bellow is my App.xaml File</p>
  
  <pre><code>&lt;Application 
  x:Class="MyApp.App" 
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
  xmlns:local="using:MyApp"&gt;
  &lt;Application.Resources&gt; 
      &lt;ResourceDictionary &gt;
          &lt;!-- This is where the error is --&gt;
          &lt;vm:ViewModelLocator x:Key="Locator" xmlns:vm="using:MyApp.ViewModel" /&gt;
          &lt;ResourceDictionary.MergedDictionaries&gt;
              &lt;ResourceDictionary Source="/Resources/Colors.xaml"/&gt;
              &lt;ResourceDictionary Source="/Resources/Styles.xaml"/&gt;
          &lt;/ResourceDictionary.MergedDictionaries&gt;           
      &lt;/ResourceDictionary&gt;       
  &lt;/Application.Resources&gt;
  </code></pre>
  
  <p></p>