-
Notifications
You must be signed in to change notification settings - Fork 489
Closed
Labels
investigatingThis issue is being investigated and/or work is in progress to resolve the issue.This issue is being investigated and/or work is in progress to resolve the issue.
Description
I'm not sure if this is a libphonenumber issue, or an AWS Lambda test tool issue. It has the feel of an issue with the test tool.
Repro steps:
- Install the AWS Lambda test tool package: https://aws.amazon.com/blogs/developer/debugging-net-core-aws-lambda-functions-using-the-aws-net-mock-lambda-test-tool/
- Create an empty Serverless Lambda app
- Add the libphonenumber package as a dependency
- In the
Function
constructor, dovar foo = PhoneNumberUtil.GetInstance();
- Run the debugger
- Send any request
The constructor doesn't run at all.
System.IO.FileNotFoundException: Could not load file or assembly 'PhoneNumbers, Version=8.10.6.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
at Mercury.Function..ctor()
The smallest repro case I could come up with attached here.
AWSServerlessApp.zip
rpmrmartin and Edulopez
Metadata
Metadata
Assignees
Labels
investigatingThis issue is being investigated and/or work is in progress to resolve the issue.This issue is being investigated and/or work is in progress to resolve the issue.