https://aws.amazon.com/codebuild/ is a fully managed DevOps service for building and testing your applications. As a fully managed service, there is no infrastructure to manage and you pay only for the resources that you use when you are building your applications. CodeBuild provides a default build image that contains the current Long Term Support (LTS) version of the.NET SDK.
For a typical.NET application, the buildspec file will look like this: ``` version: 0.2 phases: build: commands: - dotnet restore Net7TestApp.sln - dotnet build Net7TestApp.sln ```
In order to add the.NET 7 SDK to CodeBuild so that we can build your.NET 7 applications, we will leverage the install phase of the buildspec file.