【发布时间】:2019-10-15 09:11:21
【问题描述】:
不知何故,我无法在 Azure Function v2 中使用 csx 包 Microsoft.Azure.Storage.blob。
在 extension.proj 我有以下内容:
<PackageReference Include="Microsoft.Azure.Storage.Blob" Version="11.1.0" />
在 csx 文件中我有:
using Microsoft.Azure.Storage;
using Microsoft.Azure.Storage.Blob;
我有错误:
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?)
完整代码在 GitHub 上:https://github.com/ptrstpp950/cognitive-service-azure-function
【问题讨论】:
-
我一直在这里告诉人们...
-
@silent 我不能。我必须让它们在研讨会的浏览器中可编辑。我切换到 NodeJS。在这种情况下,它就像一个魅力:)
-
知道了。是的,最近也有同样的情况
-
@PiotrStapp 我的解决方案可以解决您的问题吗?还有其他疑问吗?
标签: c# azure azure-functions csx