【发布时间】:2019-12-05 22:11:07
【问题描述】:
我正在尝试使用 Azure AppService 部署 asp.NET 应用程序。但最后它失败了,消息说:
error : This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets.
Failed exitCode=1, command=dotnet publish "D:\home\site\repository\test.WebApp.V1\test.WebApp.V1.csproj" --output "D:\local\Temp\8d77908b55668cc" --configuration Release
An error has occurred during web site deployment.
\r\nD:\Program Files (x86)\SiteExtensions\Kudu\85.11108.4192\bin\Scripts\starter.cmd "D:\home\site\deployments\tools\deploy.cmd"
我没有使用 asp dotNet Frameworks 甚至 C# 的经验,但我知道它会尝试从 nuget 下载一些依赖项,但没有管理。
我该如何解决这个问题?谢谢
【问题讨论】:
-
你是如何部署应用程序的?
-
@MichaelJCox iam 在 Azure 云中使用 AppService
标签: asp.net azure azure-web-app-service