Deploying .NET with Beanstalk: must include '.runtimeconfig.json'

0

I am trying to deploy a .NET application on Linux using the .NET core on Linux deployment option in Elastic Beanstalk. Due to account permissions I can't use the plugin for VS, so I'm trying to upload a ZIP of the published code. Everything seems to be in place, and I can deploy the sample application code with no problems. But when I try to upload my own code, I get the following error, even though the Website.runtimeconfig.json file is present in the uploaded .zip file:

Instance deployment: Your source bundle has a single .NET Core application. You must include a file with a '.runtimeconfig.json' suffix. The deployment failed.

Any idea what I might be missing?

質問済み 3年前872ビュー
1回答
0

The issue was that I was zipping up the folder that contained the code, rather than just the code inside the folder itself. The extra folder of depth seemed to cause Beanstalk not to detect the files correctly. Zipping up just the code worked.

回答済み 3年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ