Azure WebJob - No features found. Try making the job classes public and using public static methods.

I am using Azure WebJob, but now I get the following error message:

No features found. Try publishing job classes and public static methods.

My code is so simple:

static void Main() { var host = new JobHost(); host.RunAndBlock(); } public static async Task BlobTrigger( [BlobTrigger("test/{name}")] Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlob input, TextWriter log) { //code } 

In addition, I create a zip file from the debug folder and load it, and the task is configured for continuous operation.

+5
source share
1 answer

so sorry, the error is so simple that I added the publication of access to the class, and this is normal (I use the final version of the web tasks here), but I have some work with prebelease webbeobs and publication is not required.

Thanks everyone, hi.

+13
source

Source: https://habr.com/ru/post/1205703/


All Articles