Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.Net 5.0 not supported in AWS Lambda

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. enter image description here Does Amazon Lambda not support .NET 5.0 framework ?

like image 920
Shah NIral Avatar asked Feb 21 '21 22:02

Shah NIral


People also ask

Does AWS Lambda support .NET 5?

AWS Lambda can run . NET 5 based functions using custom AWS Lambda runtimes.

Does AWS support .NET 5?

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.

What version of .NET does Lambda support?

AWS Lambda now supports . NET 6 as both a managed runtime and a container base image.

Does Lambda support .NET 6?

NET 6. You can use both Visual Studio 2022 and the dotnet CLI to create the AWS Lambda Project.


Video Answer


1 Answers

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.

like image 60
Glen Thomas Avatar answered Oct 12 '22 14:10

Glen Thomas