1
votes

I have a console based application as WebJob. Now internally i am trying to map a CloudDrive using the storageconnectionstring UseDevelopmentStorage=true

It is throwing exception ERROR_AZURE_DRIVE_DEV_PATH_NOT_SET. I searched for this error and found that WebJobs do not run locally in Azure emulator. Is this information still valid? Is there any plan to provide emulator (storage) support for webjobs in near future say in a week or so?

thanks

3

3 Answers

1
votes

The information is still valid - we don't support the Azure emulator.

We have that work item on our backlog but I cannot give you any ETA.

1
votes

Boo hoo Microsoft... This seems rather stupid given that you want us to start adopting the use of Azure Web Jobs!

enter image description here

0
votes

There are new few lines of code in current version, which I believe solves this issue

    static void Main()
    {
        var config = new JobHostConfiguration();

        if (config.IsDevelopment)
        {
            config.UseDevelopmentSettings();
        }

        var host = new JobHost();
        // The following code ensures that the WebJob will be running continuously
        host.RunAndBlock();
    }