Keep Azure Function assemblies monolithic, or be prepared to work deal with mismatching Azure Storage assemblies.
Azure Function projects which attempt to share common code via other assemblies will fail to compile with:
CS0433: The type 'CloudBlob' exists in both 'Microsoft.Azure.Storage.Blob, Version=188.8.131.52, Culture=neutral, PublicKeyToken=31bf3856ad364e35' and 'Microsoft.WindowsAzure.Storage, Version=184.108.40.206, Culture=neutral, PublicKeyToken=31bf3856ad364e35' <Assembly with Azure Functions and including shared assembly which includes Azure Storage assembly>
The mismatch occurs due to the Azure Storage versions included in the Azure WebJobs extensions and more general Azure Storage. The nearby AsFnTrials Solution Hierarchy screenshot highlights the mismatched versions.
The easiest way to avoid this compilation error is to keep all of the code in a single assembly – e.g., move BlobHelper.cs to SharedAsmb and remove CommonLib (or remove it from dependencies).
The downside with this approach is that sharing code gets more complicated, particularly when existing shared code exists.