簡體   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