I ran the following in Package Manager
Update-Package -reinstall
I had Package source: All and the default project was one that referenced the start up project.
The following error message appeared
No package updates are available from the current package source for project 'Console4Migration'.
Update-Package : The WriteObject and WriteError methods cannot be called from outside the overrides of the BeginProcessing, ProcessRecord, and EndProcessing methods, and they can only be called
from within the same thread. Validate that the cmdlet makes these calls correctly, or contact Microsoft Customer Support Services.At line:1 char:1
+ Update-Package -reinstall
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Update-Package], PSInvalidOperationException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PackageManagement.PowerShellCmdlets.UpdatePackageCommand
Why?