function - Azure Functions - WindowsAzure.Storage 库在 VS 2017 中不起作用

标签 function azure blob storage visual-studio-2017

我在 Azure 门户中拥有完整完美运行的 Azure Function。该函数的一部分将 blob 从一个 Azure 存储容器复制到另一个 Azure 存储容器中。

我在 VS 2017 中开发了该应用程序,然后在 Azure Functions 中对其进行了调整。在 Azure Functions 中,我将应用程序从 Azure Functions 中提取为 VS 2017 项目,以便快速进行和部署更改。

我将当前的 WindowsAzure.Storage 8.4.0 Nuget 包添加到 VS 2017 解决方案中,但不幸的是 VS Azure Functions 无法识别该包 ,参见:

screenshot_s1

我尝试手动添加程序集,但在这种情况下,我收到“引用无效或不支持”的消息。

有什么建议吗?

Overview of the dependecies

最佳答案

绑定(bind)重定向支持尚未添加到 Azure Functions。您需要使用 WindowsAzure.Storage 版本 7.x Nuget 包。如果您能够使用版本 7.2.1,则不会有任何问题,因为 Azure Functions 目前附带该版本。

Github issue for: Binding redirect support

关于function - Azure Functions - WindowsAzure.Storage 库在 VS 2017 中不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46075106/

相关文章:

Oracle SQL - 如何从 BLOB 中去除前导字节(并作为 RAW 返回)?

azure - 增加 Microsoft Azure Blob URL 字符限制

.net - 基于联合声明的身份验证和单点登录

azure - Azure 文件共享的 POSIX 权限

javascript - jquery 相当于 getcompulatedstyle()

C++ 重载决议

azure - 与 Windows Azure Web 角色的 HTTPS 连接是否保持连接状态?

c# 处理来自 mysql 查询的空字节数组

php - 无法访问 usort() 函数调用内部的全局变量

javascript - 在变量中声明一个 JavaScript 函数?