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:
相關內容
- 已提問 2 年前
- 已提問 2 年前
- AWS 官方已更新 4 年前
- AWS 官方已更新 1 年前