Solution: Update NuGet plugin
How to update the NuGet plugin: Open the project-> Tools-> Extensions and Updates-> Update-> Visual Studio Library-> Update NuGet
After updating NuGet, restoring the package again will not cause this error
Reference: https://blog.csdn.net/cq_wacky/article/details/53096430 , https://blog.csdn.net/qq_36456952/article/details/55252913
Download the required nupkg package
Nuget package manager import nupkg file into project
If you want to import a .dll file, right-click "Reference"-> "Add Reference"-> "Browse" directly in the project