尝试使用代码构建和获取asp.net来构建no matching artifacts found error应用程序。我们可以检查在构建代理上创建这些工件的位置吗?

版本: 0.2
phases:
install:
pre_build:
commands:
- New-Item -ItemType Junction -Path C:\Src -Value $Env:CODEBUILD_SRC_DIR
- cd C:\Src
- nuget.exe restore
build:
commands:
- echo Executing Build Phase
- echo build started on `date`
- msbuild .\ASPWebApp\ASPWebApp.csproj /p:outdir=.\build_output
finally:
- echo Executing build finally
artifacts:
files:
- .\build_output\**\*
name: newbucket26发布于 2020-06-29 05:07:27
我找到了解决这个问题的办法。AWS代码构建默认窗口生成代理不支持asp.net框架,它只支持.net核心框架。因此,要构建asp.net应用程序,我们需要使用微软提供的自定义码头映像。
https://stackoverflow.com/questions/62080284
复制相似问题