aws / aws-lambda-base-images

Apache License 2.0
670 stars 110 forks source link

Missing 6.0.2 framework in the base image #39

Open danyhoron opened 2 years ago

danyhoron commented 2 years ago

Hi,

I'm using the public.ecr.aws/lambda/dotnet:6 image and yesterday I started getting the following errors in CloudWatch:

It was not possible to find any compatible framework version
The framework 'Microsoft.NETCore.App', version '6.0.2' (x64) was not found.
- The following frameworks were found:
6.0.1 at [/var/lang/bin/shared/Microsoft.NETCore.App]
You can resolve the problem by installing the specified framework and/or SDK.
The specified framework can be found at:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=6.0.2&arch=x64&rid=amzn.2-x64 

I did not make any changes to my .net project.