-
-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
Hi,
i am having this error when connecting to the amazon:
System.TypeLoadException: 'Method 'DetermineServiceOperationEndpoint' in type 'Amazon.S3.AmazonS3Config' from assembly 'AWSSDK.S3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=XXXXXXXXXXXXX' does not have an implementation.'
My code:
`public S3ContentStorageService(S3StorageOptions options, ILogger logger)
{
_options = options;
_logger = logger;
// Initialize FluentStorage with AWS S3
StorageFactory.Modules.UseAwsStorage();
AWSCredentials myS3Credentials = new BasicAWSCredentials(_options.AccessKey, _options.SecretKey);
_storage = StorageFactory.Blobs.AwsS3(myS3Credentials, _options.BucketName, _options.Region);
}`
I am using the latest nuget packages for FluentStorage and FluentStorage.AWS
I would be quite thankful if you can help!
Regards
andsala
Metadata
Metadata
Assignees
Labels
No labels