title: Could not load file or assembly Microsoft.Win32.Primitives, Version=4.0.0.0
body: <p>I am having problems running my web application. </p>
  
  <p>The project setup is ASP.NET Core web application (.NET Framework). I don't seem to get any Build error. The project doesn't just run.</p>
  
  <blockquote>
    <p>System.IO.FileLoadException: 'Could not load file or assembly 'Microsoft.Win32.Primitives, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)'</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/JTxgm.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/JTxgm.jpg" alt="enter image description here"></a></p>