Good day. I have a Visual Studio solution (Community 2019) using AWS SDK, and for a couple of weeks I can麓t update successfully all Nuget Packages related to AWS due to the package _AWSSDK.Extensions.CognitoAuthetication 0.9.4 can't work with AWSSDK.Core 3.5.x.x_. I've been working with stable versions 3.3.x.x of the AWS SDK NuGet packages, working OK, and versions 3.5.x.x packages are launched 2 weeks ago and from that time I can't update reporting the NuGet error/warning I was mentioned with AWSSDK.Extensions.CognitoAuthetication 0.9.4 package. A doubt related to this is: _what is the main difference between AWSSDK.Extensions.CognitoAuthentication and Amazon.Extension.CognitoAuthentication?_.
This is a :bug: bug-report
Have a good day @ashishdhingra . I found an issue that is completely related with this one that was reported 3 days before mine: https://github.com/aws/aws-sdk-net-extensions-cognito/issues/57 . Do you have any news about this problem? Thank you in advance.
I updated to this package and it worked fine
https://github.com/aws/aws-sdk-net-extensions-cognito/
@hashitha greetings and have a happy new year 2021, I'm sorry for my late response. One of my main questions is what's the difference between AWSSDK.Extension.CognitoAuthetication & Amazon.Extension.CognitoAuthetication, in my project I have both Nuget packages installed. The AWSSDK.Extension.CognitoAuthentication is the one who has the problem about the update in this issue and I checked that this package don't have any update since the version 0.9.4, here you have the error (using VS in spanish, sorry for the language):
_Error NU1107 Se detect贸 un conflicto de versiones para AWSSDK.CognitoIdentityProvider. Para resolver este problema, instale o haga referencia a AWSSDK.CognitoIdentityProvider 3.5.0.2 directamente en el proyecto AWS Power Snippets. AWS Power Snippets -> Amazon.Extensions.CognitoAuthentication 2.0.2 -> AWSSDK.CognitoIdentityProvider (>= 3.5.0.2) AWS Power Snippets -> AWSSDK.Extensions.CognitoAuthentication 0.9.4 -> AWSSDK.CognitoIdentityProvider (>= 3.3.4.3 && < 3.4.0). AWS Power Snippets F:\Users\sergi\Documents\Visual Studio 2019\Projects\NetUtilitiesAWS Power SnippetsAWS Power Snippets.csproj_
I installed the Amazon.Extension.CognitoAuthetication and Visual Studio reported me that my project was successfully compiled, so I have that doubt if the AWSSDK.Extension.CognitoAuthentication isn't needed for the solution or AWS hasn't reported this package is not longer needed for Cognito in .NET. I'm using Cognito code to manage credentials for my Cognito accounts, both packages have the same description at Visual Studio Nuget Manager, so I don't wanna remove one or another package if I'm not sure the difference of usage.
Can you help me answering this doubt @hashitha ? Beforehand a lot of thanks.
Hello @SETSinsperion,
Amazon.Extension.CognitoAuthetication (https://www.nuget.org/packages/Amazon.Extensions.CognitoAuthentication/) is the replacement for AWSSDK.Extension.CognitoAuthetication and should be used moving forward.
The 2.0.0 version of Amazon.Extension.CognitoAuthetication is compatible with version 3.5 of the AWSSDK packages.
We'll look into marking the older version as deprecated on NuGet. Thanks.
@ashovlin hello, a lot of thanks for your answer, that's not in the AWS .NET documentation, like many details. So I'. gonna do the changes in my solutions to test what you said to close this issue. Thanks for all that have contribute to this issue.
Please let us know if your change works as you expect. If you haven't made the change, please use version 2.0.3 as it has Device level support.