dotnet / tye

Tye is a tool that makes developing, testing, and deploying microservices and distributed applications easier. Project Tye includes a local orchestrator to make developing microservices easier and the ability to deploy microservices to Kubernetes with minimal configuration.
MIT License
5.28k stars 520 forks source link

Azure Functions V3 with TargetFramework 5.0 and Worker Runtime dotnet-isolated aren't supported #1236

Open hirensharma opened 2 years ago

hirensharma commented 2 years ago

Describe the bug

I have a couple of micro-services along with some Azure Functions (dotnet-isolated ones) and the Azure Function fails to run. I guess the command its using internally is dotnet run, whereas, the new function utilizes the command "func start" with the help of Azure Function Core Tools

To Reproduce

Further technical details

fleed commented 2 years ago

Same problem here. Any temp workarounds?

fleed commented 2 years ago

I found a workaround using the following configuration:

- name: myfunc
  executable: func
  args: start {pathtofolder}/Company.FunctionApp1.csproj -p 7071
  workingDirectory: {pathtofolder}
  bindings:
    - port: 7071
      protocol: http

Anyway there might be a much simpler solution, so still open for suggestions