I have publish aws serverless app to Amazon Lambda but it is showing me below error that it is not able to find .net 5.0 framework. Does Amazon Lambda not support .NET 5.0 framework ?
AWS Lambda can run . NET 5 based functions using custom AWS Lambda runtimes.
AWS supports . NET 5 across a range of compute options. Today customers have unequaled flexibility to run . NET 5 runtimes on 275 Amazon EC2 instance types.
AWS Lambda now supports . NET 6 as both a managed runtime and a container base image.
NET 6. You can use both Visual Studio 2022 and the dotnet CLI to create the AWS Lambda Project.
No Lambda does not have a native runtime for .NET 5. You can see the currently supported runtimes listed here. Right now only .NET Core versions 2.1 and 3.1 are supported natively.
You can use .NET 5 if you use containerized lambda functions. See docs for info on that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With