如何使用VS2017在本地运行的预编译Azure函数解决“无法从Azure WebJobs SDK调用Function1”错误?

时间:2018-04-18 07:03:13

标签: .net azure azure-functions

我有一个预编译Azure函数的.NET Standard 2.0类库。当我使用CLI(版本1.0.10)在本地运行它时,我收到以下错误

{
    "id": "8425f625-83d9-4bcc-800b-923b691730fd",
    "requestId": "22dcb01e-350e-4b0c-98b5-d2ab069856fd",
    "statusCode": 500,
    "errorCode": 0,
    "message": "'Function1' can't be invoked from Azure WebJobs SDK. Is it missing Azure WebJobs SDK attributes?"
}

有人可以帮我吗?

0 个答案:

没有答案