2 回答
- 最新
- 投票最多
- 评论最多
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:
相关内容
- 已提问 5 个月前
- AWS 官方已更新 3 年前
- AWS 官方已更新 4 年前
- AWS 官方已更新 1 年前