Visual Studio 2022 with .net 6 throws error for lambda while deploying #1448
-
I installed Visual Studio 2022 enterprise with .net 6 and .net 7 . I created a simple server less lambda application using .net 6 framework **net6.0 "Runtime": "dotnet6",** but i am getting below error when i try to publish to aws lambda from Visual Studio. Any help is much appreciated over here :) **error NU1202: Package Amazon.Lambda.AspNetCoreServer 8.0.0 is not compatible with net60 (.NETFramework,Version=v6.0). Package Amazon.Lambda.AspNetCoreServer 8.0.0 supports:
Moreover why here .net refers like .net60 and .net6.0 ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Duplicate of #1449. |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
Duplicate of #1449.