title: Could not load file or assembly 'System.Memory, Version=4.0.1.1,
body: <p>I am trying to use Azure Blob Storage, however I am getting the following error.</p>
  <blockquote>
  <p>System.IO.FileLoadException: 'Could not load file or assembly 'System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)'</p>
  </blockquote>
  <p>I have viewed other solutions on Stackoverflow that suggest changing from &quot;Any CPU&quot; to &quot;x64&quot;, Doing a clean then build, and making the app.config match the version in the packages.config. None of these things solve the problem.</p>
  <p>I am using Visual Studio 2019 and .NET Framework 4.7.2</p>
  <p>The offending line of code is</p>
  <pre><code>BlobServiceClient blobServiceClient = new BlobServiceClient(connectionString);
  </code></pre>
  <p>Can anyone provide some insight on why this is happening?</p>