Dotnet 6.0 with Existing Project #1370
-
Since there is no Startup.cs in .NET 6, how can the "Setting up the Lambda Function" mentioned in "https://aws.amazon.com/blogs/developer/deploy-an-existing-asp-net-core-web-api-to-aws-lambda/#:~:text=Deploy%20an%20Existing%20ASP.NET%20Core%20Web%20API%20to,Configuring%20Amazon%20API%20Gateway%20...%204%20Deploy%20" be modified to accommodate that? Also, I know this is a different issue, but how can the Amazon.Lambda.Tools be installed when the error is "NU1202: Package Amazon.Lambda.Tools 5.6.2 is not compatible with net6.0 (.NETCoreApp,Version=v6.0). Package Amazon.Lambda.Tools 5.6.2 supports:
-Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
If you check out the .NET 6 Lambda blog post it talks about using the Not sure why you are getting an error installing |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
If you check out the .NET 6 Lambda blog post it talks about using the
Amazon.Lambda.AspNetCoreServer.Hosting
package to support ASP .NET Core Minimal API projects. https://aws.amazon.com/blogs/compute/introducing-the-net-6-runtime-for-aws-lambda/Not sure why you are getting an error installing
Amazon.Lambda.Tools
. Can you describe the environment you are attempting to install the tool in?