title: I found invalid data while decoding error updating NuGet packages
body: <p>I have been trying to update NuGet packages in Visual Studio 2019 from both package manager consoles and the manage NuGet packages from the context options, but in both cases I get &quot;Found invalid data while decoding.&quot; error.</p>
  <p>I have to revert to Visual Studio 2017 to update. Is there a way to deal with this or do I have to contend with this switching for now?</p>
  <p>The error outputs are as below for both scenarios:</p>
  <p><a href="https://i.stack.imgur.com/8zOEz.png" rel="noreferrer"><img src="https://i.stack.imgur.com/8zOEz.png" alt="Enter image description here" /></a></p>