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 |
Beta Was this translation helpful? Give feedback.
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, |
Beta Was this translation helpful? Give feedback.
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 API
from example requests dropdown to test your API.Thanks,
Ashish