【发布时间】:2018-12-07 18:25:59
【问题描述】:
当我在 Jenkins 中构建我的 .NET 解决方案并尝试在实际的 MSBuild 步骤之前恢复 NuGet 包时,我收到此错误:
C:\Program Files\dotnet\sdk\2.1.300\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(198,5): error : Package JetBrains.Annotations, version 11.1.0 was not found. It might have been deleted since NuGet restore. Otherwise, NuGet restore might have only partially completed, which might have been due to maximum path length restrictions. [PATHLENGHT = 86]
我正在使用 MSBuild 15 和 NuGet Windows x86 命令行 nuget.exe v4.7.0
有什么想法吗?
干杯
【问题讨论】:
标签: jenkins nuget-package-restore