I've got a really weird issue. I use the following lines to create a configuration:
var keyVaultProvider = keyVaultSettings.ClientId != null ? new KeyVaultProvider(keyVaultSettings.ClientId, keyVaultSettings.ClientSecret, secretIdentifier) : new KeyVaultProvider(secretIdentifier);
configuration = new AzureStorageAttachmentConfiguration(keyVaultProvider, containerName,
messageMaxSizeReachedCriteria: (message) => message.Body.Length > maxMessageSizeInKb * 1024);
No errors in my IDE (JetBrains Rider), but when I try to build I get the following errors:
The type 'IProvideStorageConnectionString' is defined in an assembly that is not referenced. You must add a reference to assembly 'ServiceBus.AttachmentPlugin, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null'.
Argument 1: cannot convert from 'Microsoft.Azure.ServiceBus.KeyVaultProvider' to 'string'
If I try using new PlainTextConnectionStringProvider("somestring") instead it compiles just fine. Looking at the example app here, I can see that it's supposed to work the way I'm trying to use it.
Any hints on how to resolve this?
I've got a really weird issue. I use the following lines to create a configuration:
No errors in my IDE (JetBrains Rider), but when I try to build I get the following errors:
If I try using new PlainTextConnectionStringProvider("somestring") instead it compiles just fine. Looking at the example app here, I can see that it's supposed to work the way I'm trying to use it.
Any hints on how to resolve this?