I found invalid data while decoding error updating NuGet packages
Visual Studio 2019 Go to menu Tools → NuGet Package Manager → Package Manager Console. Type dotnet nuget locals all –clear. Clean the solution. Delete the bin and obj folders from the project folder. It is 100% working.