Azure / azure-functions-core-tools

Command line tools for Azure Functions
MIT License
1.32k stars 433 forks source link

Error being thrown from core tools on func start #3611

Open wgrs opened 8 months ago

wgrs commented 8 months ago

Azure Functions Core Tools Core Tools Version: 4.0.5530 Commit hash: N/A +c8883e7f3c06e2b424fbac033806c19d8d91418c (64-bit) Function Runtime Version: 4.28.5.21962

Can't determine project language from files. Please use one of [--csharp, --javascript, --typescript, --java, --python, --powershell, --custom] Can't determine project language from files. Please use one of [--csharp, --javascript, --typescript, --java, --python, --powershell, --custom] Can't determine project language from files. Please use one of [--csharp, --javascript, --typescript, --java, --python, --powershell, --custom] [2024-02-27T17:00:10.874Z] No job functions found. Try making your job classes and methods public. If you're using binding extensions (e.g. Azure Storage, ServiceBus, Timers, etc.) make sure you've called the registration method for the extension(s) in your startup code (e.g. builder.AddAzureStorage(), builder.AddServiceBus(), builder.AddTimers(), etc.). For detailed output, run func with --verbose flag. [2024-02-27T17:00:15.665Z] Host lock lease acquired by instance ID '000000000000000000000000EA6F6011'.

kshyju commented 2 months ago

@wgrs Did you have a local.settings.json file present in the function app root with the correct FUNCTIONS_WORKER_RUNTIME value in it?

wgrs commented 2 months ago

No I did not. Is it required?