【发布时间】:2020-04-28 10:15:49
【问题描述】:
我在包管理器中运行了以下内容
Update-Package -reinstall
我有包源:全部,默认项目是引用启动项目的项目。
出现如下错误提示
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
为什么?
【问题讨论】:
标签: nuget