I have a value in my settings QueuePrefix which I'm using to prefix my queue names so I can test against different environments locally.
I'm using this in my queue triggers locally:
public static Task Run([QueueTrigger("%QueuePrefix%my-queue-name", Connection = "Storage")] ...
This was working so I could test one environment without a prefix and one with. I'm not sure what has changed (possibly since updating to V2) but this no longer seems to work with blank values.
I get this misleading error when I start the functions app:
Skipping 'QueuePrefix' from local settings as it's already defined in current environment variables.
And then the following error when it tries to index my function:
[08/04/2019 08:45:15] Error indexing method 'MyFunction'
[08/04/2019 08:45:15] Microsoft.Azure.WebJobs.Host: Error indexing method 'MyFunction'. Microsoft.Azure.WebJobs.Host: '%QueuePrefix%' does not resolve to a value.
Duplicate of https://github.com/Azure/Azure-Functions/issues/1189
I'll respond there.
Duplicate of https://github.com/Azure/Azure-Functions/issues/1189
I'll respond there.
This issue has been moved to a repository you don't have access to or has been deleted since being transferred.