According to the error message you got, I'd suggest to check and update your NuGet Visual Studio Extension (Tools > Extenstions and Update) before installing the library package.
Note: Restart visual studio after updating Nuget VS extension and before downloading your library package.