2016-08-23 44 views
-1

我想通過項目Kudu和Git集線器部署在蔚藍,沒有成功的項目。 這是部署日誌:天青github部署和自動包還原

Command: "D:\home\site\deployments\tools\deploy.cmd" Handling .NET Web Application deployment. MSBuild auto-detection: using msbuild version '14.0' from 'D:\Program Files (x86)\MSBuild\14.0\bin'. All packages listed in packages.config are already installed. D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Common.Logging, Version=2.1.1.0, Culture=neutral, PublicKeyToken=af08829b84f0328e, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [D:\home\site\repository\XPTO.Infrastructure.Exporting\XPTO.Infrastructure.Exporting.csproj] D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Common.Logging.Core, Version=3.3.1.0, Culture=neutral, PublicKeyToken=af08829b84f0328e, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [D:\home\site\repository\XPTO.Infrastructure.Exporting\XPTO.Infrastructure.Exporting.csproj] D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Ctl.Data, Version=1.0.5570.18090, Culture=neutral, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [D:\home\site\repository\XPTO.Infrastructure.Exporting\XPTO.Infrastructure.Exporting.csproj] D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Ctl.Data.Excel, Version=1.0.5568.30276, Culture=neutral, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [D:\home\site\repository\XPTO.Infrastructure.Exporting\XPTO.Infrastructure.Exporting.csproj] D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "EPPlus, Version=4.0.3.0, Culture=neutral, PublicKeyToken=ea159fdaa78159a1, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [D:\home\site\repository\XPTO.Infrastructure.Exporting\XPTO.Infrastructure.Exporting.csproj] D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Newtonsoft.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [D:\home\site\repository\XPTO.Infrastructure.Exporting\XPTO.Infrastructure.Exporting.csproj] D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Pechkin, Version=0.5.8.1, Culture=neutral, processorArchitecture=x86". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [D:\home\site\repository\XPTO.Infrastructure.Exporting\XPTO.Infrastructure.Exporting.csproj] D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Pechkin.Synchronized, Version=0.5.8.1, Culture=neutral, processorArchitecture=x86". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [D:\home\site\repository\XPTO.Infrastructure.Exporting\XPTO.Infrastructure.Exporting.csproj] D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "System.Net.Http.Formatting, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [D:\home\site\repository\XPTO.Infrastructure.Exporting\XPTO.Infrastructure.Exporting.csproj] Exporters\ExcelExporter.cs(3,7): error CS0246: The type or namespace name 'OfficeOpenXml' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\XPTO.Infrastructure.Exporting\XPTO.Infrastructure.Exporting.csproj] Exporters\ExcelExporter.cs(4,7): error CS0246: The type or namespace name 'OfficeOpenXml' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\XPTO.Infrastructure.Exporting\XPTO.Infrastructure.Exporting.csproj] Exporters\ExcelExporter.cs(5,7): error CS0246: The type or namespace name 'OfficeOpenXml' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\XPTO.Infrastructure.Exporting\XPTO.Infrastructure.Exporting.csproj] Exporters\PdfExporter.cs(2,7): error CS0246: The type or namespace name 'Pechkin' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\XPTO.Infrastructure.Exporting\XPTO.Infrastructure.Exporting.csproj] Exporters\PdfExporter.cs(3,7): error CS0246: The type or namespace name 'Pechkin' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\XPTO.Infrastructure.Exporting\XPTO.Infrastructure.Exporting.csproj] Exporters\ExcelExporter.cs(134,17): error CS0246: The type or namespace name 'ExcelPackage' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\XPTO.Infrastructure.Exporting\XPTO.Infrastructure.Exporting.csproj] Exporters\ExcelExporter.cs(139,17): error CS0246: The type or namespace name 'ExcelPackage' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\XPTO.Infrastructure.Exporting\XPTO.Infrastructure.Exporting.csproj] Exporters\ExcelExporter.cs(170,35): error CS0246: The type or namespace name 'ExcelWorksheet' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\XPTO.Infrastructure.Exporting\XPTO.Infrastructure.Exporting.csproj] Exporters\ExcelExporter.cs(181,34): error CS0246: The type or namespace name 'ExcelWorksheet' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\XPTO.Infrastructure.Exporting\XPTO.Infrastructure.Exporting.csproj] Exporters\ExcelExporter.cs(208,33): error CS0246: The type or namespace name 'ExcelWorksheet' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\XPTO.Infrastructure.Exporting\XPTO.Infrastructure.Exporting.csproj] Exporters\ExcelExporter.cs(227,29): error CS0246: The type or namespace name 'ExcelWorksheet' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\XPTO.Infrastructure.Exporting\XPTO.Infrastructure.Exporting.csproj] Exporters\ExcelExporter.cs(284,35): error CS0246: The type or namespace name 'ExcelWorksheet' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\XPTO.Infrastructure.Exporting\XPTO.Infrastructure.Exporting.csproj] Exporters\ExcelExporter.cs(292,52): error CS0246: The type or namespace name 'ExcelStyle' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\XPTO.Infrastructure.Exporting\XPTO.Infrastructure.Exporting.csproj] Exporters\ExcelExporter.cs(313,17): error CS0246: The type or namespace name 'ExcelVerticalAlignment' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\XPTO.Infrastructure.Exporting\XPTO.Infrastructure.Exporting.csproj] Exporters\ExcelExporter.cs(327,17): error CS0246: The type or namespace name 'ExcelHorizontalAlignment' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\XPTO.Infrastructure.Exporting\XPTO.Infrastructure.Exporting.csproj] D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "log4net, Version=1.2.15.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [D:\home\site\repository\UrbanAirSharp\UrbanAirSharp.csproj] D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "System.Net.Http.Extensions, Version=2.2.29.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [D:\home\site\repository\UrbanAirSharp\UrbanAirSharp.csproj] D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "System.Net.Http.Primitives, Version=4.2.29.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [D:\home\site\repository\UrbanAirSharp\UrbanAirSharp.csproj] Request\Base\BaseRequest.cs(5,7): error CS0246: The type or namespace name 'log4net' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\UrbanAirSharp\UrbanAirSharp.csproj] UrbanAirSharpGateway.cs(10,7): error CS0246: The type or namespace name 'log4net' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\UrbanAirSharp\UrbanAirSharp.csproj] UrbanAirSharpGateway.cs(11,7): error CS0246: The type or namespace name 'log4net' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\UrbanAirSharp\UrbanAirSharp.csproj] UrbanAirSharpGateway.cs(44,33): error CS0246: The type or namespace name 'ILog' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\UrbanAirSharp\UrbanAirSharp.csproj] Request\Base\BaseRequest.cs(20,35): error CS0246: The type or namespace name 'ILog' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\UrbanAirSharp\UrbanAirSharp.csproj] XPTO.Infrastructure.Configuration.DTO -> D:\home\site\repository\XPTO.Infrastructure.Configuration.DTO\bin\Release\XPTO.Infrastructure.Configuration.DTO.dll D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [D:\home\site\repository\XPTO.Infrastructure.Configuration.Data\XPTO.Infrastructure.Configuration.Data.csproj] D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [D:\home\site\repository\XPTO.Infrastructure.Configuration.Data\XPTO.Infrastructure.Configuration.Data.csproj] D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Microsoft.AspNet.Identity.Owin, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [D:\home\site\repository\XPTO.Infrastructure.Configuration.Data\XPTO.Infrastructure.Configuration.Data.csproj] D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Microsoft.Owin, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [D:\home\site\repository\XPTO.Infrastructure.Configuration.Data\XPTO.Infrastructure.Configuration.Data.csproj] D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Microsoft.Owin.Security, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [D:\home\site\repository\XPTO.Infrastructure.Configuration.Data\XPTO.Infrastructure.Configuration.Data.csproj] D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Microsoft.Owin.Security.Cookies, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [D:\home\site\repository\XPTO.Infrastructure.Configuration.Data\XPTO.Infrastructure.Configuration.Data.csproj] D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Microsoft.Owin.Security.OAuth, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [D:\home\site\repository\XPTO.Infrastructure.Configuration.Data\XPTO.Infrastructure.Configuration.Data.csproj] D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Newtonsoft.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [D:\home\site\repository\XPTO.Infrastructure.Configuration.Data\XPTO.Infrastructure.Configuration.Data.csproj] D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Owin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f0ebd12fd5e55cc5, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [D:\home\site\repository\XPTO.Infrastructure.Configuration.Data\XPTO.Infrastructure.Configuration.Data.csproj] ConfigurationContext.cs(2,14): error CS0234: The type or namespace name 'Data' does not exist in the namespace 'System' (are you missing an assembly reference?) [D:\home\site\repository\XPTO.Infrastructure.Configuration.Data\XPTO.Infrastructure.Configuration.Data.csproj] ConfigurationContext.cs(6,43): error CS0246: The type or namespace name 'DbContext' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\XPTO.Infrastructure.Configuration.Data\XPTO.Infrastructure.Configuration.Data.csproj] ConfigurationContext.cs(14,16): error CS0246: The type or namespace name 'DbSet<ConfigurationDocument>' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\XPTO.Infrastructure.Configuration.Data\XPTO.Infrastructure.Configuration.Data.csproj] ConfigurationContext.cs(15,16): error CS0246: The type or namespace name 'DbSet<ConfigurationSection>' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\XPTO.Infrastructure.Configuration.Data\XPTO.Infrastructure.Configuration.Data.csproj] ConfigurationContext.cs(16,16): error CS0246: The type or namespace name 'DbSet<ConfigurationAttribute>' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\XPTO.Infrastructure.Configuration.Data\XPTO.Infrastructure.Configuration.Data.csproj] ConfigurationContext.cs(18,49): error CS0246: The type or namespace name 'DbModelBuilder' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\XPTO.Infrastructure.Configuration.Data\XPTO.Infrastructure.Configuration.Data.csproj] ConfigurationContext.cs(18,33): error CS0115: 'ConfigurationContext.OnModelCreating(DbModelBuilder)': no suitable method found to override [D:\home\site\repository\XPTO.Infrastructure.Configuration.Data\XPTO.Infrastructure.Configuration.Data.csproj] Migrations\Configuration.cs(3,18): error CS0234: The type or namespace name 'Data' does not exist in the namespace 'System' (are you missing an assembly reference?) [D:\home\site\repository\XPTO.Infrastructure.Configuration.Data\XPTO.Infrastructure.Configuration.Data.csproj] Migrations\Configuration.cs(5,43): error CS0246: The type or namespace name 'DbMigrationsConfiguration<XPTO.Infrastructure.Configuration.Data.ConfigurationContext>' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\XPTO.Infrastructure.Configuration.Data\XPTO.Infrastructure.Configuration.Data.csproj] Migrations\Configuration.cs(12,33): error CS0115: 'Configuration.Seed(ConfigurationContext)': no suitable method found to override [D:\home\site\repository\XPTO.Infrastructure.Configuration.Data\XPTO.Infrastructure.Configuration.Data.csproj] PayoneerApi -> D:\home\site\repository\PayoneerApi\bin\Release\PayoneerApi.dll TipAir.EntityFramework -> D:\home\site\repository\TipAir.EntityFramework\bin\Release\TipAir.EntityFramework.dll ExtendedServerAPI -> D:\home\site\repository\ExtendedServerAPI\bin\Release\ExtendedServerAPI.dll NexmoApi -> D:\home\site\repository\NexmoApiSM\bin\Release\NexmoApi.dll D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "Newtonsoft.Json". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [D:\home\site\repository\ZooZPaymentAPI\ZooZPaymentAPI.csproj] D:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1819,5): warning MSB3245: Could not resolve this reference. Could not locate the assembly "System.Net.Http.Formatting, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. [D:\home\site\repository\ZooZPaymentAPI\ZooZPaymentAPI.csproj] AuthorizePayment\AuthorizePaymentRequest.cs(1,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\ZooZPaymentAPI\ZooZPaymentAPI.csproj] AuthorizePayment\AuthorizePaymentResponseObject.cs(1,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\ZooZPaymentAPI\ZooZPaymentAPI.csproj] AuthorizePayment\AuthorizePaymentResponseObject.cs(2,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\ZooZPaymentAPI\ZooZPaymentAPI.csproj] Common\FullPaymentMethod.cs(1,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\ZooZPaymentAPI\ZooZPaymentAPI.csproj] Common\PaymentMethodDetails.cs(19,10): error CS0246: The type or namespace name 'JsonProperty' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\ZooZPaymentAPI\ZooZPaymentAPI.csproj] PaymentDetails\PaymentDetailsResponseObject.cs(76,10): error CS0246: The type or namespace name 'JsonProperty' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\ZooZPaymentAPI\ZooZPaymentAPI.csproj] PaymentDetails\PaymentDetailsResponseObject.cs(76,23): error CS0246: The type or namespace name 'PropertyName' could not be found (are you missing a using directive or an assembly reference?) [D:\home\site\repository\ZooZPaymentAPI\ZooZPaymentAPI.csproj] Failed exitCode=1, command="D:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" "D:\home\site\repository\TipAir.AdminSite\TipAir.AdminSite.csproj" /nologo /verbosity:m /t:Build /t:pipelinePreDeployCopyAllFilesToOneFolder /p:_PackageTempDir="D:\local\Temp\8d3cba35e7ed9a5";AutoParameterizationWebConfigConnectionStrings=false;Configuration=Release;UseSharedCompilation=false /p:SolutionDir="D:\home\site\repository\.\\" An error has occurred during web site deployment. \r\nD:\Program Files (x86)\SiteExtensions\Kudu\57.50815.2378\bin\Scripts\starter.cmd "D:\home\site\deployments\tools\deploy.cmd"

我刪除了一些錯誤的,是僅供參考的問題,像例子中的那些。

謝謝,大家:)

回答

1

基於Jambor指導,我發現了這個問題。 我的一些Nuget引用指向一個無效的文件夾。 我編輯了所有.csproj文件,現在部署正在運行。

1

從錯誤信息,它似乎很多程序集都丟失。對於這一類問題,我建議你設置通過以下步驟複製本地爲真:

  1. 在解決方案資源管理器中,單擊顯示所有文件按鈕,顯示引用節點。
  2. 打開項目的引用節點。 右鍵單擊參考列表中的所有參考,然後單擊屬性。
  3. 選擇複製本地值爲真。
+0

我做到了我從NuGet獲得的所有dll。有同樣的錯誤。通過kudu檢查我的depoyment文件夾,所有軟件包都在那裏。我是否也需要複製.NET Framework dll(System,System.Web等)? –

+0

新信息。試圖直接通過kudu控制檯編譯一個項目。但是,它指向一個錯誤的包文件夾。你知道我如何更改包文件夾信息嗎?謝謝 –