This is caused by caching. If you don‘t want to wait like the above answer suggested, just clear Nuget caches by going to Tools -> Options -> Nuget -> General and click on the "Clear All Nuget Cache(s)" button.
Package is not found in the following primary source
原文:https://www.cnblogs.com/chucklu/p/12597933.html