我尝试使用 Bitbucket 管道将 ASP.NET Core(dotnet 版本 5.0)部署到 AWS Elastic Beanstalk,但部署步骤会导致错误:实例部署:您的源包有一个 .NET Core 应用程序。您必须包含带有“.runtimeconfig.json”后缀的文件。部署失败。
弹性豆茎设置:
(使用#some_text更改敏感数据)
Elastic Beanstalk 日志:
2020-12-04 02:04:16 UTC+0100 ERROR During an aborted deployment, some instances may have deployed the new application version. To ensure all instances are running the same version, re-deploy the appropriate application version.
2020-12-04 02:04:16 UTC+0100 ERROR Failed to deploy application.
2020-12-04 02:04:16 UTC+0100 ERROR Unsuccessful command …Run Code Online (Sandbox Code Playgroud) deployment amazon-web-services amazon-elastic-beanstalk asp.net-core