mspnp / serverless-reference-implementation

Serverless reference implementation guidance
MIT License
179 stars 93 forks source link

Issues with publishing DroneTelemetryFunctionApp #143

Closed NathanDotTo closed 1 month ago

NathanDotTo commented 6 months ago

I first tried:

func azure functionapp publish ${DRONE_TELEMETRY_FUNCTION_APP_NAME}

Can't determine project language from files. Please use one of [--csharp, --javascript, --typescript, --java, --python, --powershell, --custom]
Your Azure Function App has 'FUNCTIONS_WORKER_RUNTIME' set to 'dotnetIsolated' while your local project is set to 'None'.
You can pass --force to update your Azure app with 'None' as a 'FUNCTIONS_WORKER_RUNTIME'

This worked:

func azure functionapp publish ${DRONE_TELEMETRY_FUNCTION_APP_NAME} --csharp --force
v-fearam commented 1 month ago

Apologies for any inconvenience. Kindly try the following command: func azure functionapp publish ${DRONE_TELEMETRY_FUNCTION_APP_NAME} --dotnet-isolated I will be resuming work on this repository shortly.

skabou commented 1 month ago

@NathanDotTo - Thanks for your feedback. The latest update should address your issue.