我遇到了同样的问题,得到了同样的错误:
error : Package <package> was not found. It might have been deleted sinceNuGet restore. Otherwise, NuGet restore might have only partially completed,which might have been due to maximum path length restrictions. [<path>]
我能够使用
MSBuild /t:restore代替来解决它
dotnet restore。
请参阅:https : //docs.microsoft.com/zh-cn/nuget/reference/msbuild-
targets#restore-target



