2 Risposte
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
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:
Contenuto pertinente
- AWS UFFICIALEAggiornata 4 anni fa
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata 3 anni fa