title: UWP application: Could not load file or assembly 'System.Runtime.WindowsRuntime, Version=4.0.14.0
body: <p>I have a UWP application built using <code>.Net Standard 1.4</code> using <code>Xamarin</code> I have recently upgraded a couple of my nuget plugins and my <code>UWP</code> project has started giving me the following error:</p>
  
  <blockquote>
    <p>"System.IO.FileLoadException: Could not load file or assembly
    'System.Runtime.WindowsRuntime, Version=4.0.14.0, Culture=neutral,
    PublicKeyToken=b77a5c561934e089'. The located assembly's manifest
    definition does not match the assembly reference. (Exception from
    HRESULT: 0x80131040)\r\n"</p>
  </blockquote>
  
  <p>Now usually this is quite straight forward, you just add a reference to that <code>.dll</code>. So I find the nuget package <a href="https://www.nuget.org/packages/System.Runtime.WindowsRuntime/" rel="nofollow noreferrer">here</a> and add it to my UWP project and build.</p>
  
  <p>Now initially on the nuget package page I cant see a Version <code>4.0.14</code> but I install the latest (4.3.0) anyway.</p>
  
  <p>But I still get the same error and when I check the <code>bin</code> folder for the version of that library it reports <code>V4.0.12</code> so where do I get the V4.0.14 of this library from?</p>
  
  <p><strong>Extra Info</strong></p>
  
  <p>The only mention of this version of the dll I can find on the internet is <a href="https://github.com/dotnet/docs/issues/3644#issuecomment-343339458" rel="nofollow noreferrer">here</a></p>
  
  <blockquote>
    <p>The update was only was published as part of
    Microsoft.NETCore.UniversalWindowsPlatform and you have to target Fall
    Creator's Update or higher for the APIs I have listed above. That gets
    you the following version of the assembly (4.0.3.0 is the latest
    standalone):</p>
    
    <p>System.Runtime.WindowsRuntime, Version=4.0.14.0, Culture=neutral,
    PublicKeyToken=b77a5c561934e089</p>
    
    <p>So scratch .NET 4.6.1 and .NET Core 2.0- only Universal Windows
    Platform 10.0.16299 for now.</p>
  </blockquote>