Relative Content

Tag Archive for .netamazon-web-serviceslambdanative-aot

Lambda Mock Test Tool .NET8.0 Native AOT

I started a project using dotnet new serverless.NativeAOT so my project is using the annotations framework as well as compiling to Native AOT. I can deploy my function to an aws lambda but it throws a null reference exception. I have been trying to set up the mock lambda testing tool so I can set up some break points and diagnose this but all my attempts have come up dry. I’m using Visual Studio 2022 and can get the mock test tool to launch but events queued in the Executable Assembly tab just hang there and do not hit the breakpoints I set up in Startup.cs nor Functions.cs.