2 Answers
- Newest
- Most votes
- Most comments
0
Is the AWSSDK.DynamoDBv2
package is installed in the Lambda project itself? It's important that the package is referenced directly by the project being packaged. If it's only included in a dependent project, ensure that the dependencies are correctly being resolved. Try to open your Lambda function's .csproj
file to verify that the AWSSDK.DynamoDBv2
package reference exists:
<ItemGroup> <PackageReference Include="AWSSDK.DynamoDBv2" Version="3.7.301.22" /> </ItemGroup>
If it's missing, add it manually or re-install the package using the command line:
dotnet add package AWSSDK.DynamoDBv2 --version 3.7.301.22
Before running the dotnet lambda package
command, make sure all NuGet
packages are restored properly to resolve any missing dependencies:
dotnet restore
References:
Relevant content
- asked 4 years ago
- asked 3 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 5 days ago