aws codebuild 是否支持 asp.net 应用程序?

Does aws codebuild support asp.net application?

正在尝试使用 aws CodeBuild 构建和发布asp.net(非核心)应用程序。 aws codebuild 是否支持传统的 .net 应用程序? 通过 Whosebug 上的旧线程,但仍然不清楚。

尝试在 aws Codebuild 上使用示例 asp.net 应用程序,它能够构建但无法发布并获取我需要在 IIS 上部署的所有工件。

有人用 asp.net 应用程序尝试过 aws codebuild 吗?

这个问题听起来很愚蠢,但很难使用 codebuild 发布 asp.net 应用程序。尝试了在线给出的大部分 MSbuild 命令。

是的,CodeBuild支持.NET Framework应用,请参考下面link这是一个教程:

...以及以下博客 post:

配置CodeBuild项目摘录:

  1. After choosing Next, select AWS CodeBuild as the build provider.
  2. Select your region, then choose Create project, which will open CodeBuild in another browser window.
  3. In the CodeBuild window, you can optionally assign your build project a name and description.
  4. Under Environment, select the Custom image option, and select Windows as the environment type.
  5. For building ASP.NET 4.x (.NET Framework) web projects, it’s easiest to start out with Microsoft’s .NET Framework SDK docker image, which they host on their registry. Select Other registry, and use mcr.microsoft.com/dotnet/framework/sdk:[version-tag] as the registry URL. Replace version-tag with the .NET framework version. For .NET Framework 4.x, the most likely options are 4.7.1, 4.7.2 or 4.8. This example uses mcr.microsoft.com/dotnet/framework/sdk:4.7.2.