question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to find Amazon.Lambda.TestTool.WebTester31.dll

See original GitHub issue

The Question

I’m following https://github.com/aws/aws-lambda-dotnet/blob/master/Tools/LambdaTestTool/README.md and I successfully installed dotnet tool install -g Amazon.Lambda.TestTool-3.1

Now I would like to find Amazon.Lambda.TestTool.WebTester31.dll https://github.com/aws/aws-lambda-dotnet/blob/master/Tools/LambdaTestTool/README.md#configure-for-jetbrains-rider but I don’t have any .store folder under ~/.dotnet/tools The only thing I have in ~/.dotnet/tools is dotnet-lambda-test-tool-3.1

Please note I’m on Ubuntu

Is there anything else I should do?

Thanks for any help

Environment

  • Build Version:
  • OS Info: Ubuntu 20.04.2 LTS
  • Build Environment: Jetbrains Rider + Terminal dotnet
  • Targeted .NET Platform: .NET Core 3.1

This is a ❓ general question

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ashishdhingracommented, May 12, 2021

Hi @pmihalcin,

Thanks for posting the guidance question. You are correct, I was unable to find Amazon.Lambda.TestTool.WebTester31.dll on both Windows and Mac terminal after installing the test tool using command dotnet tool install -g Amazon.Lambda.TestTool-3.1.

  • Mac terminal path: /Users/<<username>>/.dotnet/tools/.store/amazon.lambda.testtool-3.1/0.11.3/amazon.lambda.testtool-3.1/0.11.3/tools/netcoreapp3.1/any
  • Windows path: <<drive:>>\Users\<<username>>\.dotnet\tools\.store\amazon.lambda.testtool-3.1\0.11.3\amazon.lambda.testtool-3.1\0.11.3\tools\netcoreapp3.1\any

I will get in touch with development team and get back to you on this.

EDIT: @pmihalcin I noticed the following:

  • When I explicitly install Lambda Test tool 3.1 with version less than 0.11.0 (e.g. 0.10.1) using command dotnet tool install --global Amazon.Lambda.TestTool-3.1 --version 0.10.1, I do see the file Amazon.Lambda.TestTool.WebTester31.dll under /Users/<<username>>/.dotnet/tools/.store/amazon.lambda.testtool-3.1/0.10.1/amazon.lambda.testtool-3.1/0.10.1/tools/netcoreapp3.1/any.
  • I also notice that there is a note in Readme Note: if using the .NET Core Mock Lambda Test Tool 3.1 version 0.11.0, you will need to use the BlazorTester DLL (Amazon.Lambda.TestTool.BlazorTester.dll) and set the Exe path to the full path of the BlazorTester DLL.. So looks like for version 0.11.0 (or later), we need to use Amazon.Lambda.TestTool.BlazorTester.dll.

Could you use this DLL as the Executable Path in JetBrains Rider and let me know if it works?

Thanks, Ashish

0reactions
github-actions[bot]commented, May 13, 2021

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to Debug Lambda locally in Rider
The Mock Lambda Test Tool launches fine in the browser fine when just clicking "Run", but can't Debug in that mode. Any help...
Read more >
aws-lambda-dotnet/Tools/LambdaTestTool/README.md ...
The AWS .NET Mock Lambda Test Tool is a tool that can be used to load a .NET Core Lambda project and execute...
Read more >
[Solved]-Unable to Debug Lambda locally in Rider-.net-core
Coding example for the question Unable to Debug Lambda locally in ... Lambda.TestTool.WebTester31.dll. And the working directory as the Project Root of my ......
Read more >
Debugging .NET Core AWS Lambda functions using the ...
How to debug AWS Lambda functions is one of the most common questions we get from developers creating Lambda functions for .NET Core....
Read more >
How To Set Up AWS .NET Mock Lambda Test Tool on ...
NET Mock Lambda Test Tool is used to test and debug AWS Lambda ... You can find the DLL in the /.dotnet/tools folder...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found