title: Exception thrown: 'System.Exception' in mscorlib.ni.dll on UWP App Start
body: <p>So when I start my UWP application I briefly get a splash screen and then an exception is thrown at:</p>
  
  <blockquote>
    <p>mscorlib.ni.dll!System.RuntimeTypeHandle.GetTypeByName(string name, bool throwOnError, bool ignoreCase, bool reflectionOnly, ref System.Threading.StackCrawlMark stackMark, System.IntPtr pPrivHostBinder, bool loadTypeFromPartialName)
        mscorlib.ni.dll!System.RuntimeType.GetType(string typeName, bool throwOnError, bool ignoreCase, bool reflectionOnly, ref System.Threading.StackCrawlMark stackMark)
        mscorlib.ni.dll!System.Type.GetType(string typeName, bool throwOnError)
        mscorlib.ni.dll!System.Resources.ResourceManager.GetWinRTResourceManager()
        mscorlib.ni.dll!System.Globalization.CultureInfo.GetCultureInfoForUserPreferredLanguageInAppX()
        mscorlib.ni.dll!System.Globalization.CultureInfo.CurrentCulture.get()
        mscorlib.ni.dll!System.IO.FileLoadException.FormatFileLoadExceptionMessage(string fileName = "System.Runtime, Version=4.0.20.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", int hResult)
        mscorlib.ni.dll!System.IO.FileNotFoundException.SetMessageField()
        mscorlib.ni.dll!System.IO.FileNotFoundException.FileNotFoundException(string fileName, string fusionLog, int hResult)</p>
  </blockquote>
  
  <p>There's no futher details other than "Exception thrown: 'System.Exception' in mscorlib.ni.dll".</p>
  
  <p>Running a different UWP app such as the UWP blank template app works fine but this app specifically seems to have this problem.</p>
  
  <p>I can reproduce the problem with a cut down version of my app that if needed can be <a href="https://www.dropbox.com/s/01euipylowpubux/ReproSample.7z?dl=0" rel="nofollow">downloaded here</a>.</p>