Open
Description
Describe the bug
This bit of code looks for a <assemblyname>.deps
file. If that file does not exist it looks for *.deps
files.
If it finds more than 1 matching file, it fails with the error message:
The ${LAMBDA_TASK_ROOT} directory is missing the required .deps.json file.
which is slightly misleading.
Expected Behavior
A better error message that indicates that more *.deps files than expected were encoutered.
Current Behavior
A wrong error message that says there were no *.deps files
Reproduction Steps
Add an extra *.deps file to working lambda zip package and deploy it.
Possible Solution
No response
Additional Information/Context
No response
AWS .NET SDK and/or Package version used
AWSSDK.Core 3.5.3.3
Targeted .NET Platform
.NET 6
Operating System and version
Amazon Lambda