Unable to run your project. The "RunCommand" property is not defined #1291
Describe the bugI am not able to debug the project. I get this error. Expected Behaviordebugging should work Current Behaviordebugging doesnt work Reproduction Steps
Possible SolutionNo response Additional Information/ContextNo response AWS .NET SDK and/or Package version usedAWSToolkitPackage.v17 Targeted .NET Platform.NET 6 Operating System and versionWindows 10 |
Answered by
ashishdhingra
Aug 29, 2022
Replies: 1 comment
|
Hi @taipignas, Good morning. The reason you are getting this error because Serverless annotations project is a class library project which cannot be executed directly. In order to test/debug annotations project locally, you need to have Mock Lambda Test Tool installed and it needs to be selected when running the project. In Lambda test tool, you could then select Thanks, |
0 replies
Answer selected by
ashishdhingra
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Hi @taipignas,
Good morning.
The reason you are getting this error because Serverless annotations project is a class library project which cannot be executed directly. In order to test/debug annotations project locally, you need to have Mock Lambda Test Tool installed and it needs to be selected when running the project. In Lambda test tool, you could then select
API Gateway V2 HTTP APIfrom example requests dropdown to test your API.Thanks,
Ashish