staticwebdev / blazor-starter

A starter template in C# APIs and Blazor for Azure Static Web Apps
217 stars 104 forks source link

Anyone get this error when launching ? #49

Open punkouter24 opened 4 months ago

punkouter24 commented 4 months ago

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]

Azure Functions Core Tools Core Tools Version: 4.0.5504 Commit hash: N/A +f829589bca9e7404c76db163c2d904326be8d347 (64-bit) Function Runtime Version: 4.28.3.21820

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-14T14:16:47.345Z] 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-14T14:16:52.318Z] Host lock lease acquired by instance ID '0000000000000000000000009EB8CBB7'.

jaysonragasa commented 4 months ago

Same here. I'm not able to run the sample anymore because of this

No job functions found.

jaysonragasa commented 4 months ago

image

Only option is to go back to their old commit which uses .net 7.0

https://github.com/staticwebdev/blazor-starter/tree/c036097ade671539c7ceca72806e368bb9807565

or you can use mine here

https://github.com/jaysonragasa/BlazorStaticWebApp