首页 > 解决方案 > AWS CDK - .Net Core Build Task

问题描述

I have a typescript CDK project which includes a .net core Lambda, is there a way to run the dotnet build task as part of the cdk deploy command?

I'm using Code.fromAsset() to bundle the code from a lambda subdirectory but ideally I'd like to run the dotnet build command as part of the bundling to ensure it's always the latest version.

Any ideas on how this can be done?

Note: I'm not using a pipeline for this particular project as its just a small single dev project.

标签: aws-cdk

解决方案


推荐阅读