繁体   English   中英

对于AppHarbor上的多个软件包,NuGet软件包还原失败

[英]NuGet package restore fails for several packages on AppHarbor

我的应用程序可以在本地和Azure上很好地部署,但是没有明显的原因在AppHarbor上失败。 Nuget找不到大多数软件包。

这是一个构建日志:

GET https://www.nuget.org/api/v2/Packages(Id='Microsoft.AspNet.Razor',Version ='3.2.3')GET https://www.nuget.org/api/v2/包(Id = 'Microsoft.AspNet.WebApi.Core',Version ='5.0.0')GET https://www.nuget.org/api/v2/Packages(Id='Microsoft.AspNet.WebApi',Version ='5.0.0')获取https://www.nuget.org/api/v2/Packages(Id='Microsoft.AspNet.WebHelpers',Version ='3.2.3')获取https://www.nuget .org / api / v2 / Packages(Id = 'jQuery',Version ='1.10.2')GET https://www.nuget.org/api/v2/Packages(Id='Microsoft.AspNet.Mvc ',版本='5.2.3')获取https://www.nuget.org/api/v2/Packages(Id='jQuery.Validation ',版本='1.11.1')获取https://www.nuget。 org / api / v2 / Packages(Id = 'itextsharp.xmlworker',Version ='5.5.5')GET https://www.nuget.org/api/v2/Packages(Id='Microsoft.AspNet.WebApi 。 WebHost',Version ='5.0.0')获取https://www.nuget.org/api/v2/Packages(Id='Microsoft.AspNet.WebApi.Client',Version ='5.0.0')获取https ://www.nuget.org/api/v2/Packages(Id = 'iTextSharp',Version ='5.5.5')GET https://www.nuget.org/api/v2/Packa ges(Id = 'Microsoft.AspNet.WebPages',Version ='3.2.3')GET https://www.nuget.org/api/v2/Packages(Id='Microsoft.AspNet.WebPages.Data',Version ='3.2.3')获取https://www.nuget.org/api/v2/Packages(Id='Microsoft.AspNet.WebPages.WebData',Version ='3.2.3')获取https:// www .nu​​get.org / api / v2 / Packages(Id = 'Microsoft.jQuery.Unobtrusive.Ajax',Version ='3.2.3')GET https://www.nuget.org/api/v2/Packages(Id= 'Microsoft.jQuery.Unobtrusive.Validation',Version ='3.0.0')获取https://www.nuget.org/api/v2/Packages(Id='Microsoft.Web.Infrastructure',Version ='1.0。 0.0')获取https://www.nuget.org/api/v2/Packages(Id='MvcRazorToPdf',Version ='1.0.2')获取https://www.nuget.org/api/v2/Packages (Id = 'MySql.Data',Version ='6.9.6')GET https://www.nuget.org/api/v2/Packages(Id='MySql.Data.Entity',Version ='6.9.6 ')获取https://www.nuget.org/api/v2/Packages(Id='MySql.Web',Version ='6.9.6')获取https://www.nuget.org/api/v2/包(Id = 'Newtonsoft.Json',Version ='5.0.6')GET https://www.nuget.org/api/v2/Packages(Id='Microsoft.A spNet.Razor',Version ='3.2.3.0')获取https://www.nuget.org/api/v2/Packages(Id='Microsoft.AspNet.WebHelpers',Version ='3.2.3.0')获取https ://www.nuget.org/api/v2/Packages(Id = 'RazorPDF',Version ='1.0.0')安装'jQuery.Validation 1.11.1'。 GET https://www.nuget.org/api/v2/package/jQuery.Validation/1.11.1 GET https://www.nuget.org/api/v2/Packages(Id='itextsharp.xmlworker',Version ='5.5.5.0')安装'Microsoft.AspNet.WebApi.Core 5.0.0'。 GET https://www.nuget.org/api/v2/package/Microsoft.AspNet.WebApi.Core/5.0.0安装“ jQuery 1.10.2”。 GET https://www.nuget.org/api/v2/package/jQuery/1.10.2安装'Microsoft.AspNet.WebApi.Client 5.0.0'。 GET https://www.nuget.org/api/v2/package/Microsoft.AspNet.WebApi.Client/5.0.0 GET https://www.nuget.org/api/v2/Packages(Id='Microsoft 。 AspNet.Mvc',Version ='5.2.3.0')安装'Microsoft.AspNet.WebApi 5.0.0'。 GET https://www.nuget.org/api/v2/package/Microsoft.AspNet.WebApi/5.0.0安装“ Microsoft.AspNet.WebApi.WebHost 5.0.0”。 GET https://www.nuget.org/api/v2/package/Microsoft.AspNet.WebApi.WebHost/5.0.0 GET https://www.nuget.org/api/v2/Packages(Id='MvcRazorToPdf ' ,版本='1.0.2.0')获取https://www.nuget.org/api/v2/Packages(Id='Microsoft.AspNet.WebPages ',版本='3.2.3.0')获取https:// www .nu​​get.org / api / v2 / Packages(Id = 'Microsoft.AspNet.WebPages.WebData',Version ='3.2.3.0')GET https://www.nuget.org/api/v2/Packages(Id= 'Microsoft.jQuery.Unobtrusive.Ajax',Version ='3.2.3.0')GET https://www.nuget.org/api/v2/Packages(Id='iTextSharp',Version ='5.5.5.0')安装'Microsoft.Web.Infrastructure 1.0.0.0'。 GET https://www.nuget.org/api/v2/package/Microsoft.Web.Infrastructure/1.0.0成功安装了'jQuery.Validation 1.11.1'。 成功安装了“ jQuery 1.10.2”。 GET https://www.nuget.org/api/v2/Packages(Id='MySql.Data.Entity',Version ='6.9.6.0')成功安装了'Microsoft.AspNet.WebApi.Client 5.0.0'。 安装“ Microsoft.jQuery.Unobtrusive.Validation 3.0.0”。 GET https://www.nuget.org/api/v2/package/Microsoft.jQuery.Unobtrusive.Validation/3.0.0 GET https://www.nuget.org/api/v2/Packages(Id='Microsoft 。 AspNet.WebPages.Data',Version ='3.2.3.0')GET https://www.nuget.org/api/v2/Packages(Id='MySql.Data',Version ='6.9.6.0')已成功安装'Microsoft.jQuery.Unobtrusive.Validation 3.0.0'。 已成功安装“ Microsoft.AspNet.WebApi.WebHost 5.0.0”。 安装“ Newtonsoft.Json 5.0.6”。 获取https://www.nuget.org/api/v2/package/Newtonsoft.Json/5.0.6获取https://www.nuget.org/api/v2/Packages(Id='MySql.Web ',版本='6.9.6.0')成功安装了'Microsoft.AspNet.WebApi.Core 5.0.0'。 成功安装了“ Newtonsoft.Json 5.0.6”。 安装“ RazorPDF 1.0.0”。 GET https://www.nuget.org/api/v2/package/RazorPDF/1.0.0成功安装了'Microsoft.AspNet.WebApi 5.0.0'。 成功安装了“ RazorPDF 1.0.0”。 成功安装了“ Microsoft.Web.Infrastructure 1.0.0.0”。

System.InvalidOperationException:无法找到软件包“ iTextSharp”的版本“ 5.5.5”。 在NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem packagesFolderFileSystem,String packageId,SemanticVersion版本,Boolean packageRestoreConsent,ConcurrentQueue 1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
NuGet.PackageHelper.ResolvePackage(IPackageRepository存储库,字符串packageId,SemanticVersion版本)处
1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
1.InnerInvoke()在System.Threading.Tasks.Task.Execute()System.InvalidOperationException:找不到软件包“ itextsharp.xmlworker”的版本“ 5.5.5”。
在NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem packagesFolderFileSystem,String packageId,SemanticVersion版本,Boolean packageRestoreConsent,ConcurrentQueue 1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
NuGet.PackageHelper.ResolvePackage(IPackageRepository存储库,字符串packageId,SemanticVersion版本)处
1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
1.InnerInvoke()在System.Threading.Tasks.Task.Execute()System.InvalidOperationException:找不到软件包“ Microsoft.AspNet.Mvc”的版本“ 5.2.3”。
在NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem packagesFolderFileSystem,String packageId,SemanticVersion版本,Boolean packageRestoreConsent,ConcurrentQueue 1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
NuGet.PackageHelper.ResolvePackage(IPackageRepository存储库,字符串packageId,SemanticVersion版本)处
1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
1.InnerInvoke()在System.Threading.Tasks.Task.Execute()System.InvalidOperationException:找不到软件包“ Microsoft.AspNet.Razor”的版本“ 3.2.3”。
在NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem packagesFolderFileSystem,String packageId,SemanticVersion版本,Boolean packageRestoreConsent,ConcurrentQueue 1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
NuGet.PackageHelper.ResolvePackage(IPackageRepository存储库,字符串packageId,SemanticVersion版本)处
1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
1.InnerInvoke()在System.Threading.Tasks.Task.Execute()System.InvalidOperationException:找不到软件包“ Microsoft.AspNet.WebHelpers”的版本“ 3.2.3”。
在NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem packagesFolderFileSystem,String packageId,SemanticVersion版本,Boolean packageRestoreConsent,ConcurrentQueue 1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
NuGet.PackageHelper.ResolvePackage(IPackageRepository存储库,字符串packageId,SemanticVersion版本)处
1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
1.InnerInvoke()在System.Threading.Tasks.Task.Execute()System.InvalidOperationException:找不到软件包“ Microsoft.AspNet.WebPages”的版本“ 3.2.3”。
在NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem packagesFolderFileSystem,String packageId,SemanticVersion版本,Boolean packageRestoreConsent,ConcurrentQueue 1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
NuGet.PackageHelper.ResolvePackage(IPackageRepository存储库,字符串packageId,SemanticVersion版本)处
1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
1.InnerInvoke()在System.Threading.Tasks.Task.Execute()System.InvalidOperationException:找不到软件包“ Microsoft.AspNet.WebPages.Data”的版本“ 3.2.3”。
在NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem packagesFolderFileSystem,String packageId,SemanticVersion版本,Boolean packageRestoreConsent,ConcurrentQueue 1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
NuGet.PackageHelper.ResolvePackage(IPackageRepository存储库,字符串packageId,SemanticVersion版本)处
1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
1.InnerInvoke()在System.Threading.Tasks.Task.Execute()System.InvalidOperationException:找不到软件包“ Microsoft.AspNet.WebPages.WebData”的版本“ 3.2.3”。
在NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem packagesFolderFileSystem,String packageId,SemanticVersion版本,Boolean packageRestoreConsent,ConcurrentQueue 1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
NuGet.PackageHelper.ResolvePackage(IPackageRepository存储库,字符串packageId,SemanticVersion版本)处
1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
1.InnerInvoke()在System.Threading.Tasks.Task.Execute()System.InvalidOperationException:找不到软件包“ Microsoft.jQuery.Unobtrusive.Ajax”的版本“ 3.2.3”。
在NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem packagesFolderFileSystem,String packageId,SemanticVersion版本,Boolean packageRestoreConsent,ConcurrentQueue 1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
NuGet.PackageHelper.ResolvePackage(IPackageRepository存储库,字符串packageId,SemanticVersion版本)处
1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
1.InnerInvoke()在System.Threading.Tasks.Task.Execute()System.InvalidOperationException:找不到软件包“ MvcRazorToPdf”的版本“ 1.0.2”。
在NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem packagesFolderFileSystem,String packageId,SemanticVersion版本,Boolean packageRestoreConsent,ConcurrentQueue 1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
NuGet.PackageHelper.ResolvePackage(IPackageRepository存储库,字符串packageId,SemanticVersion版本)处
1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
1.InnerInvoke()在System.Threading.Tasks.Task.Execute()System.InvalidOperationException:找不到软件包“ MySql.Data”的版本“ 6.9.6”。
在NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem packagesFolderFileSystem,String packageId,SemanticVersion版本,Boolean packageRestoreConsent,ConcurrentQueue 1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
NuGet.PackageHelper.ResolvePackage(IPackageRepository存储库,字符串packageId,SemanticVersion版本)处
1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
1.InnerInvoke()在System.Threading.Tasks.Task.Execute()System.InvalidOperationException:找不到软件包“ MySql.Data.Entity”的版本“ 6.9.6”。
在NuGet.PackageHelper.ResolvePackage(IPackageRepository存储库,字符串packageId,SemanticVersion版本)处在NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem packagesFolderFileSystem,字符串packageId,SemanticVersion版本,布尔值packageRestoreConsent,ConcurrentQueue 1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
1.InnerInvoke()在System.Threading.Tasks.Task.Execute()System.InvalidOperationException:找不到软件包“ MySql.Web”的版本“ 6.9.6”。
在NuGet.PackageHelper.ResolvePackage(IPackageRepository存储库,字符串packageId,SemanticVersion版本)处在NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem packagesFolderFileSystem,字符串packageId,SemanticVersion版本,布尔值packageRestoreConsent,ConcurrentQueue 1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
1 satellitePackages)
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
1.InnerInvoke()在System.Threading.Tasks.Task.Execute()

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM