部署包不包含iisApp

问题描述 投票:0回答:1

我正在尝试将已发布的 .net 项目的 zip 文件上传到 Amazon elastic beanstalk,但它不断在日志中抛出错误,指出 iisApp 不存在。怎么解决?

amazon-web-services amazon-elastic-beanstalk
1个回答
6
投票

Elastic Beanstalk 需要 WebDeploy 包,而不仅仅是压缩的 Web 应用程序。您可能想运行:

msbuild <web.csproj> /t:Package /p:Configuration=Release /p:PackageLocation=<outputdirectory>

创建 WebDeploy 包。

© www.soinside.com 2019 - 2024. All rights reserved.