Closed Beau-Gosse-dev closed 6 days ago
I can try to find time to implement this if you think it makes sense and don't see any potential problems with it.
Thanks @Beau-Gosse-dev for the feature request. Let me check with the team and get back to you.
Hello @Beau-Gosse-dev, I checked with the team and they seem fine with the idea. Feel free to work on the feature request.
Closing as the change was release as part of SAM CLI version 1.127.0. Thanks for your contributions!
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe your idea/feature/enhancement
There is a custom build method called donet7 shown here: https://github.com/aws/aws-sam-cli/blob/9f956dfa7760c50b86f79c1d86bef5a1b61e9e6f/samcli/lib/build/workflow_config.py#L150
This command isn't really specific to version 7 of .NET since it just calls into the underlying Lambda Builder for dotnet in general and the AWS extensions for the .NET CLI figures out what version of .NET it's building.
Proposal
dotnet7
could be replaced withdotnet
to allow future custom runtime/provided runtime builds for .NET 9 and other non-Lambda supported .NET runtimes. However, to keep backwards compatibility, we could instead just adddotnet
as a build method in addition todotnet7
Things to consider:
dotnet7
mentioned in the docsAdditional Details
Here is the CR for when dotnet7 was added: https://github.com/aws/aws-sam-cli/pull/4410/files