-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use this library with newer versions of the AWS SDK #45
Comments
Hi @Kralizek , Regards |
I'm waiting for a couple more PRs to be merged before releasing a new version. |
Hey @Kralizek , |
Hi @crowz4k , I'm currently on summer vacation. My plan is to spend some time on releasing the newest version sometimes before the end of August, but I can't promise anything. Is there any major issue stopping you? |
Thank you! No no, no worries, I was just wondering. |
Hi, @Kralizek. Thank you for your work. I'm wondering if you get a chance to update the AWS secrets manager to 3.7. |
Hi @lamchowing, right now I don't have loads of time to put on this library. If there is a specific scenario that requires upgrading this library to be built targeting 3.7 rather than leveraging binding redirects as explained in this post, please report an issue. |
A very common issue being reported when trying to install this package in a project using packages of the AWS SDK newer than 3.3.
This issue is caused because the AWS SDK has strict version boundaries forcing the usage of packages within the same major version family (e.g. you can't mix the AWS S3 3.5 package with AWS EC2 3.3 package).
This library is built targeting the AWS SDK 3.3 but, unlike the AWS SDK, it doesn't have strict limits on the targeted AWS SDK version so it's possible to use this library in projects targeting the AWS SDK 3.4 or newer.
To do so, you can simply leverage the automatic assembly redirect built into the .NET SDK projects.
Normally your project file would look like
Let's assume you wanted to add the latest package for S3, you would do
$> dotnet add package AWSSDK.S3
This would give you the following message
To solve this issue, first install the latest version of
AWSSDK.SecretsManager
$> dotnet add package AWSSDK.SecretsManager
Then, install the S3 package
$> dotnet add package AWSSDK.S3
Your project file will eventually look like this
The text was updated successfully, but these errors were encountered: