aws dotnet lambda error out with app.json did not specify a framework.

 `

Ran into this error trying to deploy my dotnet lambda. 

The application was run as a self-contained app because '/var/task/myapp.runtimeconfig.json' did not specify a framework.

To resolve it, i tried using the following target runtime build.

dotnet publish -c Release --self-contained --runtime linux-x64



Comments

Popular posts from this blog

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type