我正在本地开发一个azure函数,打开了Storage Emulator和de Storage Explorer.
文件树
local.settings.json
{
"IsEncrypted": false,
"Values": {
"AzureWebJobsStorage": "UseDevelopmentStorage=true",
"AzureWebJobsDashboard": "UseDevelopmentStorage=true"
},
"ConnectionStrings": {
"PlantaoEntities": {
"ConnectionString": "CENSORED",
"ProviderName": "System.Data.EntityClient"
}
}
}
Run Code Online (Sandbox Code Playgroud)
但是在尝试运行代码时收到以下消息:
缺少local.settings.json中AzureWebJobsStorage的值.除HTTP之外的所有触发器都需要这样做.您可以运行'func azure functionapp fetch-app-settings'或在local.settings.json中指定连接字符串
它在重建解决方案之前工作,如果我尝试func azure functionapp fetch-app-settings <functionAppName>它尝试从天蓝色门户网站本身检索信息.
是否有定义的方法将解决方案降级到较低版本的.net Framework.