You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System.MissingMethodException: Method not found: 'Boolean Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer.CreateIfNotExists(Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions, Microsoft.WindowsAzure.Storage.OperationContext)'.
at log4net.Appender.AzureAppendBlobAppender.ActivateOptions()
at log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseAppender(XmlElement appenderElement)
log4net:ERROR Appender named [BlobAppender] not found.
My env happened the issue by using log4net.Appender.Azure.
I named my appender with [BlobAppender] on the type of AzureAppendBlobAppender.
I spended one and a half day trying to sovle it as a beginner.
Finally I change the CreateIfNotExists() method to CreateIfNotExistsAsync(), and it solved.
The exception happened 🥇
System.MissingMethodException: Method not found: 'Boolean Microsoft.WindowsAzure.Storage.Blob.CloudBlobContainer.CreateIfNotExists(Microsoft.WindowsAzure.Storage.Blob.BlobRequestOptions, Microsoft.WindowsAzure.Storage.OperationContext)'.
at log4net.Appender.AzureAppendBlobAppender.ActivateOptions()
at log4net.Repository.Hierarchy.XmlHierarchyConfigurator.ParseAppender(XmlElement appenderElement)
log4net:ERROR Appender named [BlobAppender] not found.
My env happened the issue by using log4net.Appender.Azure.
I named my appender with [BlobAppender] on the type of AzureAppendBlobAppender.
I spended one and a half day trying to sovle it as a beginner.
Finally I change the CreateIfNotExists() method to CreateIfNotExistsAsync(), and it solved.
before:------------------------
_cloudBlobContainer.CreateIfNotExists();
after:--------------------------
_cloudBlobContainer.CreateIfNotExistsAsync();
Just for share~
The text was updated successfully, but these errors were encountered: