【发布时间】:2016-02-23 14:38:41
【问题描述】:
我正在尝试将官方教程Create an ASP.NET 5 web app in Visual Studio Code 中的基本 vanila Api 应用程序部署到 Azure,但我遇到了“磁盘空间不足”的问题。我是 Azure 的新手,我正在使用试用帐户。
我可以做些什么来使部署精简且不超过磁盘空间?
完整的错误堆栈:
remote: Restore failed
remote: There is not enough space on the disk.
remote:
remote:
remote: Feeds used:
remote: https://api.nuget.org/v3-flatcontainer/
remote: An error has occurred during web site deployment.
remote:
remote: Error - Changes committed to remote repository but deployment to website failed.
【问题讨论】:
-
你的应用的大小是多少?
-
我认为您需要创建一个块存储并将其分配给您的虚拟机或应用程序服务,据我所知,默认情况下不包含它。您按使用的 GB 支付的块存储空间
-
这是一个已知问题,Git 持续部署到应用服务的免费/共享层没有足够的临时存储来恢复所有需要的包。一种解决方法是从 Visual Studio 发布...github.com/aspnet/dnx/issues/3192
标签: asp.net azure asp.net-core