Somehow I cannot use package Microsoft.Azure.Storage.blob
in Azure Function v2 using csx.
In extension.proj I have following:
<PackageReference Include="Microsoft.Azure.Storage.Blob" Version="11.1.0" />
In csx file I have:
using Microsoft.Azure.Storage;
using Microsoft.Azure.Storage.Blob;
And I have error:
run.csx(7,23): error CS0234: The type or namespace name 'Storage' does not exist in the namespace
'Microsoft.Azure' (are you missing an assembly reference?)
Full code is on GitHub: https://github.com/ptrstpp950/cognitive-service-azure-function
You should import the package before using it: