我的应用在本地和Azure上部署良好,但在AppHarbor上失败没有明显的原因。 Nuget无法找到大部分包裹。
这是构建日志:
GET https://www.nuget.org/api/v2/Packages(Id=' Microsoft.AspNet.Razor',版本=' 3.2.3') 得到 https://www.nuget.org/api/v2/Packages(Id=' Microsoft.AspNet.WebApi.Core',版本=' 5.0.0') 得到 https://www.nuget.org/api/v2/Packages(Id=' Microsoft.AspNet.WebApi',版本=' 5.0.0') 得到 https://www.nuget.org/api/v2/Packages(Id=' Microsoft.AspNet.WebHelpers',版本=' 3.2.3') 得到 https://www.nuget.org/api/v2/Packages(Id='的jQuery',版本=' 1.10.2') 得到 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',版本=' 5.5.5') 得到 https://www.nuget.org/api/v2/Packages(Id=' Microsoft.AspNet.WebApi.WebHost',版本=' 5.0.0') 得到 https://www.nuget.org/api/v2/Packages(Id=' Microsoft.AspNet.WebApi.Client',版本=' 5.0.0') 得到 https://www.nuget.org/api/v2/Packages(Id=' iTextSharp的',版本=' 5.5.5') 得到 https://www.nuget.org/api/v2/Packages(Id=' Microsoft.AspNet.WebPages',版本=' 3.2.3') 得到 https://www.nuget.org/api/v2/Packages(Id=' Microsoft.AspNet.WebPages.Data',版本=' 3.2.3') 得到 https://www.nuget.org/api/v2/Packages(Id=' Microsoft.AspNet.WebPages.WebData',版本=' 3.2.3') 得到 https://www.nuget.org/api/v2/Packages(Id=' Microsoft.jQuery.Unobtrusive.Ajax',版本=' 3.2.3') 得到 https://www.nuget.org/api/v2/Packages(Id=' Microsoft.jQuery.Unobtrusive.Validation',版本=' 3.0.0') 得到 https://www.nuget.org/api/v2/Packages(Id=' Microsoft.Web.Infrastructure',版本=' 1.0.0.0') 得到 https://www.nuget.org/api/v2/Packages(Id=' MvcRazorToPdf',版本=' 1.0.2') 得到 https://www.nuget.org/api/v2/Packages(Id=' MySql.Data',版本=' 6.9.6') 得到 https://www.nuget.org/api/v2/Packages(Id=' MySql.Data.Entity',版本=' 6.9.6') 得到 https://www.nuget.org/api/v2/Packages(Id=' MySql.Web',版本=' 6.9.6') 得到 https://www.nuget.org/api/v2/Packages(Id=' Newtonsoft.Json',版本=' 5.0.6') 得到 https://www.nuget.org/api/v2/Packages(Id=' Microsoft.AspNet.Razor',版本=' 3.2.3.0') 得到 https://www.nuget.org/api/v2/Packages(Id=' Microsoft.AspNet.WebHelpers',版本=' 3.2.3.0') 得到 https://www.nuget.org/api/v2/Packages(Id=' RazorPDF',版本=' 1.0.0') 安装' jQuery.Validation 1.11.1'。得到 https://www.nuget.org/api/v2/package/jQuery.Validation/1.11.1 GET https://www.nuget.org/api/v2/Packages(Id=' itextsharp.xmlworker',版本=' 5.5.5.0') 安装' Microsoft.AspNet.WebApi.Core 5.0.0'。得到 https://www.nuget.org/api/v2/package/Microsoft.AspNet.WebApi.Core/5.0.0 安装' jQuery 1.10.2'。得到 https://www.nuget.org/api/v2/package/jQuery/1.10.2安装 ' Microsoft.AspNet.WebApi.Client 5.0.0'。得到 https://www.nuget.org/api/v2/package/Microsoft.AspNet.WebApi.Client/5.0.0 得到 https://www.nuget.org/api/v2/Packages(Id=' Microsoft.AspNet.Mvc',版本=' 5.2.3.0') 安装' Microsoft.AspNet.WebApi 5.0.0'。得到 https://www.nuget.org/api/v2/package/Microsoft.AspNet.WebApi/5.0.0 安装' Microsoft.AspNet.WebApi.WebHost 5.0.0'。得到 https://www.nuget.org/api/v2/package/Microsoft.AspNet.WebApi.WebHost/5.0.0 得到 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.nuget.org/api/v2/Packages(Id=' Microsoft.AspNet.WebPages.WebData',版本=' 3.2.3.0') 得到 https://www.nuget.org/api/v2/Packages(Id=' Microsoft.jQuery.Unobtrusive.Ajax',版本=' 3.2.3.0') 得到 https://www.nuget.org/api/v2/Packages(Id=' iTextSharp的',版本=' 5.5.5.0') 安装' Microsoft.Web.Infrastructure 1.0.0.0'。得到 https://www.nuget.org/api/v2/package/Microsoft.Web.Infrastructure/1.0.0 已成功安装&jQuery.Validation 1.11.1'。顺利 安装&#j; jQuery 1.10.2'。得到 https://www.nuget.org/api/v2/Packages(Id=' MySql.Data.Entity',版本=' 6.9.6.0') 已成功安装Microsoft.AspNet.WebApi.Client 5.0.0'。 安装' Microsoft.jQuery.Unobtrusive.Validation 3.0.0'。得到 https://www.nuget.org/api/v2/package/Microsoft.jQuery.Unobtrusive.Validation/3.0.0 得到 https://www.nuget.org/api/v2/Packages(Id=' Microsoft.AspNet.WebPages.Data',版本=' 3.2.3.0') 得到 https://www.nuget.org/api/v2/Packages(Id=' MySql.Data',版本=' 6.9.6.0') 已成功安装' Microsoft.jQuery.Unobtrusive.Validation 3.0.0&#39 ;.已成功安装' Microsoft.AspNet.WebApi.WebHost 5.0.0'。安装' Newtonsoft.Json 5.0.6'。获得https://www.nuget.org/api/v2/package/Newtonsoft.Json/5.0.6 GET 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&#39 ;. 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:无法找到版本' 5.5.5'的 包' iTextSharp'。在 NuGet.PackageHelper.ResolvePackage(IPackageRepository存储库, String packageId,SemanticVersion version)at NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem packagesFolderFileSystem,String packageId,SemanticVersion version, Boolean packageRestoreConsent,ConcurrentQueue
1 satellitePackages)
1.InnerInvoke()at System.Threading.Tasks.Task.Execute() System.InvalidOperationException:无法找到版本' 5.5.5'的 package' itextsharp.xmlworker'。在 NuGet.PackageHelper.ResolvePackage(IPackageRepository存储库, String packageId,SemanticVersion version)at NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem packagesFolderFileSystem,String packageId,SemanticVersion version, Boolean packageRestoreConsent,ConcurrentQueue
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task1 satellitePackages)
1.InnerInvoke()at System.Threading.Tasks.Task.Execute() System.InvalidOperationException:无法找到版本&#39; 5.2.3&#39;的 package&#39; Microsoft.AspNet.Mvc&#39;。在 NuGet.PackageHelper.ResolvePackage(IPackageRepository存储库, String packageId,SemanticVersion version)at NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem packagesFolderFileSystem,String packageId,SemanticVersion version, Boolean packageRestoreConsent,ConcurrentQueue
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task1 satellitePackages)
1.InnerInvoke()at System.Threading.Tasks.Task.Execute() System.InvalidOperationException:无法找到版本&#39; 3.2.3&#39;的 package&#39; Microsoft.AspNet.Razor&#39;。在 NuGet.PackageHelper.ResolvePackage(IPackageRepository存储库, String packageId,SemanticVersion version)at NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem packagesFolderFileSystem,String packageId,SemanticVersion version, Boolean packageRestoreConsent,ConcurrentQueue
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task1 satellitePackages)
1.InnerInvoke()at System.Threading.Tasks.Task.Execute() System.InvalidOperationException:无法找到版本&#39; 3.2.3&#39;的 package&#39; Microsoft.AspNet.WebHelpers&#39;。在 NuGet.PackageHelper.ResolvePackage(IPackageRepository存储库, String packageId,SemanticVersion version)at NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem packagesFolderFileSystem,String packageId,SemanticVersion version, Boolean packageRestoreConsent,ConcurrentQueue
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task1 satellitePackages)
1.InnerInvoke()at System.Threading.Tasks.Task.Execute() System.InvalidOperationException:无法找到版本&#39; 3.2.3&#39;的 package&#39; Microsoft.AspNet.WebPages&#39;。在 NuGet.PackageHelper.ResolvePackage(IPackageRepository存储库, String packageId,SemanticVersion version)at NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem packagesFolderFileSystem,String packageId,SemanticVersion version, Boolean packageRestoreConsent,ConcurrentQueue
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task1 satellitePackages)
1.InnerInvoke()at System.Threading.Tasks.Task.Execute() System.InvalidOperationException:无法找到版本&#39; 3.2.3&#39;的 package&#39; Microsoft.AspNet.WebPages.Data&#39;。在 NuGet.PackageHelper.ResolvePackage(IPackageRepository存储库, String packageId,SemanticVersion version)at NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem packagesFolderFileSystem,String packageId,SemanticVersion version, Boolean packageRestoreConsent,ConcurrentQueue
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task1 satellitePackages)
1.InnerInvoke()at System.Threading.Tasks.Task.Execute() System.InvalidOperationException:无法找到版本&#39; 3.2.3&#39;的 package&#39; Microsoft.AspNet.WebPages.WebData&#39;。在 NuGet.PackageHelper.ResolvePackage(IPackageRepository存储库, String packageId,SemanticVersion version)at NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem packagesFolderFileSystem,String packageId,SemanticVersion version, Boolean packageRestoreConsent,ConcurrentQueue
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task1 satellitePackages)
1.InnerInvoke()at System.Threading.Tasks.Task.Execute() System.InvalidOperationException:无法找到版本&#39; 3.2.3&#39;的 package&#39; Microsoft.jQuery.Unobtrusive.Ajax&#39;。在 NuGet.PackageHelper.ResolvePackage(IPackageRepository存储库, String packageId,SemanticVersion version)at NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem packagesFolderFileSystem,String packageId,SemanticVersion version, Boolean packageRestoreConsent,ConcurrentQueue
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task1 satellitePackages)
1.InnerInvoke()at System.Threading.Tasks.Task.Execute() System.InvalidOperationException:无法找到版本&#39; 1.0.2&#39;的 包&#39; MvcRazorToPdf&#39;。在 NuGet.PackageHelper.ResolvePackage(IPackageRepository存储库, String packageId,SemanticVersion version)at NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem packagesFolderFileSystem,String packageId,SemanticVersion version, Boolean packageRestoreConsent,ConcurrentQueue
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task1 satellitePackages)
1.InnerInvoke()at System.Threading.Tasks.Task.Execute() System.InvalidOperationException:无法找到版本&#39; 6.9.6&#39;的 package&#39; MySql.Data&#39;。在 NuGet.PackageHelper.ResolvePackage(IPackageRepository存储库, String packageId,SemanticVersion version)at NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem packagesFolderFileSystem,String packageId,SemanticVersion version, Boolean packageRestoreConsent,ConcurrentQueue
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task1 satellitePackages)
1.InnerInvoke()at System.Threading.Tasks.Task.Execute() System.InvalidOperationException:无法找到版本&#39; 6.9.6&#39;的 package&#39; MySql.Data.Entity&#39;。在 NuGet.PackageHelper.ResolvePackage(IPackageRepository存储库, String packageId,SemanticVersion version)at NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem packagesFolderFileSystem,String packageId,SemanticVersion version, Boolean packageRestoreConsent,ConcurrentQueue
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task1 satellitePackages)
1.InnerInvoke()at System.Threading.Tasks.Task.Execute() System.InvalidOperationException:无法找到版本&#39; 6.9.6&#39;的 包&#39; MySql.Web&#39;。在 NuGet.PackageHelper.ResolvePackage(IPackageRepository存储库, String packageId,SemanticVersion version)at NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem packagesFolderFileSystem,String packageId,SemanticVersion version, Boolean packageRestoreConsent,ConcurrentQueue
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task1 satellitePackages)
1.InnerInvoke()at System.Threading.Tasks.Task.Execute()
at NuGet.Commands.RestoreCommand.<>c__DisplayClass5.<>c__DisplayClass7.<ExecuteInParallel>b__2() at System.Threading.Tasks.Task
答案 0 :(得分:0)