-
Notifications
You must be signed in to change notification settings - Fork 493
Description
Describe the issue
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:
net6.0 (.NETCoreApp,Version=v6.0)
netcoreapp3.1 (.NETCoreApp,Version=v3.1)**
Moreover why here .net refers like .net60 and .net6.0 ?
Links
**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:
net6.0 (.NETCoreApp,Version=v6.0)
netcoreapp3.1 (.NETCoreApp,Version=v3.1)**
Moreover why here .net refers like .net60 and .net6.0 ?