You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Opening this here since it impacts template creation scenario. The problem is likely in the the Blob/Queue triggers themselves though since problem does not occur with CosmosDB trigger.
Repro Steps:
Create a NET 6.0 (LTS) project in Visual Studio, I re-proed this with non-isolated.
Select Blob Trigger (also repros with Queue trigger) and Configure Dependencies:
Select Storage Azurite emulator
Next, select "Store in local secrets file"
Finish connected services.
Build: observe following error:
1>+++++\.nuget\packages\microsoft.net.sdk.functions\4.2.0\build\Microsoft.NET.Sdk.Functions.Build.targets(32,5): warning : Function [Function1]: cannot find value named 'BlobConnectionString' in local.settings.json that matches 'connection' property set on 'blobTrigger'
1>+++++\.nuget\packages\microsoft.net.sdk.functions\4.2.0\build\Microsoft.NET.Sdk.Functions.Build.targets(32,5): warning :
1>Done building project "FunctionApp32.csproj".
Project runs without a problem, and user secrets file contains:
{
"BlobConnectionString": "UseDevelopmentStorage=true",
"BlobConnectionString:queue": "UseDevelopmentStorage=true",
"BlobConnectionString:blob": "UseDevelopmentStorage=true"
}
Opening this here since it impacts template creation scenario. The problem is likely in the the Blob/Queue triggers themselves though since problem does not occur with CosmosDB trigger.
Repro Steps:
Build: observe following error:
Project runs without a problem, and user secrets file contains:
{
"BlobConnectionString": "UseDevelopmentStorage=true",
"BlobConnectionString:queue": "UseDevelopmentStorage=true",
"BlobConnectionString:blob": "UseDevelopmentStorage=true"
}
local.Settings.json contains:
{
"IsEncrypted": false,
"Values": {
"AzureWebJobsStorage": "UseDevelopmentStorage=true",
"FUNCTIONS_WORKER_RUNTIME": "dotnet"
}
}
If I copy the BlobConnectionString into the local.Settings.json file, the warning goes away.
The text was updated successfully, but these errors were encountered: