raol / amazon-sqs-net-extended-client-lib

Extension to Amazon SQS that adds support for sending and receiving messages greater than 256K
Apache License 2.0
39 stars 33 forks source link

'Method 'DetermineServiceOperationEndpoint' in type 'Amazon.SQS.ExtendedClient.AmazonSQSExtendedClient' from assembly 'Amazon.SQS.ExtendedClient, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.' #40

Open Arpan-Soni opened 6 months ago

Arpan-Soni commented 6 months ago

Getting this error with .Net 7.0

'Method 'DetermineServiceOperationEndpoint' in type 'Amazon.SQS.ExtendedClient.AmazonSQSExtendedClient' from assembly 'Amazon.SQS.ExtendedClient, Version=1.3.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.'

AWSSDK.Core, AWSSDK.S3 and AWSSDK.SQS all on latest nuget package.

port120 commented 6 months ago

hi - also having this error. thanks

tri-bao commented 6 months ago

also got it on AWSSDK.SQS version 3.7.300.54 (latest at the time of writting)

port120 commented 6 months ago

hi - the solution is to remove the AWS SQS nuget package from your project - it's conflicting.

MnichMateusz-pki commented 3 months ago

Hi, after upgrading our solutions to .NET 8.0 we are also facing this issue. Any plans to fix that soon?

port120 commented 3 months ago

hi - check the solution i posted above

MnichMateusz-pki commented 3 months ago

Thanks for your suggestion but this is not a real solution. In our case, SQS cannot be removed from the project, your fix is helping only in specific NuGet packages configuration (where only ExtendedClient is needed), not when SQS has to be used. As the problem did not occur with older .NET versions (that btw will lose its support really soon), the fix should be provided by the library contributors, to make sure ExtendedClient is compatible with AWSSDK.SQS in NET 7 or .NET 8 projects.