{"action":"opened","issue":{"url":"https://api.github.com/repos/Azure/azure-webjobs-sdk/issues/1662","repository_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk","labels_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk/issues/1662/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk/issues/1662/comments","events_url":"https://api.github.com/repos/Azure/azure-webjobs-sdk/issues/1662/events","html_url":"https://github.com/Azure/azure-webjobs-sdk/issues/1662","id":314470473,"number":1662,"title":"Azure Functions stops working after upgrading to 2.2.0 from 2.1.0","user":{"login":"avoxm","id":10351071,"avatar_url":"https://avatars1.githubusercontent.com/u/10351071?v=4","gravatar_id":"","url":"https://api.github.com/users/avoxm","html_url":"https://github.com/avoxm","followers_url":"https://api.github.com/users/avoxm/followers","following_url":"https://api.github.com/users/avoxm/following{/other_user}","gists_url":"https://api.github.com/users/avoxm/gists{/gist_id}","starred_url":"https://api.github.com/users/avoxm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avoxm/subscriptions","organizations_url":"https://api.github.com/users/avoxm/orgs","repos_url":"https://api.github.com/users/avoxm/repos","events_url":"https://api.github.com/users/avoxm/events{/privacy}","received_events_url":"https://api.github.com/users/avoxm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-16T01:05:17Z","updated_at":"2018-04-16T01:05:17Z","closed_at":null,"author_association":"NONE","body":"I have an existing azure function that uses ServiceBusTrigger binding to receive messages from a topic subscription.\r\nWhile using v 2.1.0 with Microsoft.NET.Sdk.Functions 1.0.11 it is working perfectly fine but after upgrading to v 2.2.0 when running function locally it is not able to find the function.\r\n\r\n#### Repro steps\r\n\r\nHere is simple code that works fine with 2.1.0\r\n\r\n\r\n```\r\npublic static class SampleFunction\r\n{\r\n    [FunctionName(\"SampleFunction\")]\r\n    public static void Run([ServiceBusTrigger(\"sampletopic\", \"sample-subscription\", AccessRights.Listen, Connection = \"MyConnectionString\")]string message,\r\n    Logger log)\r\n    {\r\n        log.LogInformation($\"{message} received\");\r\n    }\r\n}\r\n```\r\n\r\n#### Expected behavior\r\n\r\nShould print the messaged published in **sampletopic**.\r\n\r\n#### Actual behavior\r\n\r\nWhen running the function here is what I can see in func.exe \r\n\r\n`No job functions found. Try making your job classes and methods public. If you're using binding extensions (e.g. ServiceBus, Timers, etc.) make sure you've called the registration method for the extension(s) in your startup code (e.g. config.UseServiceBus(), config.UseTimers(), etc.).\r\n`\r\n#### Related information \r\nProvide any related information \r\n\r\n* Working Package version\r\nMicrosoft.Azure.WebJobs.ServiceBus (2.1.0)\r\nMicrosoft.NET.Sdk.Functions (1.0.11)\r\n\r\n* The Package version that break it \r\nMicrosoft.Azure.WebJobs.ServiceBus (2.2.0)\r\nMicrosoft.NET.Sdk.Functions (1.0.13)\r\n"}}
{"actor":{"display_login":"avoxm"}}