Skip to content

Cannot Start Fable.Remoting.AzureFunctions.Worker.Tests/FunctionApp Using func start #385

@Watayut

Description

@Watayut

I'm experiencing an issue when trying to start the Fable.Remoting.AzureFunctions.Worker.Tests/FunctionApp using the func start command. The environment is a GitHub Codespace.

Steps to Reproduce:

  1. Open the GitHub Codespace for the project.
  2. Navigate to the Fable.Remoting.AzureFunctions.Worker.Tests/FunctionApp directory.
  3. Install Azure Functions Core Tools (v4.x) as per the official guide.
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg

sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-$(lsb_release -cs 2>/dev/null)-prod $(lsb_release -cs 2>/dev/null) main" > /etc/apt/sources.list.d/dotnetdev.list'

sudo apt-get update

sudo apt-get install azure-functions-core-tools-4

  1. Install .NET 9 SDK using the official guide
sudo add-apt-repository ppa:dotnet/backports

sudo apt-get update && \
  sudo apt-get install -y dotnet-sdk-9.0

export PATH=/usr/bin/:$PATH
dotnet --version
9.0.110
  1. Run the command func start.
cd Fable.Remoting.AzureFunctions.Worker.Tests/FunctionApp

dotnet tool restore

func start

Behavior:
The function app fails to start with the following output:

local.settings.json found in root directory (/workspaces/Fable.Remoting/Fable.Remoting.AzureFunctions.Worker.Tests/FunctionApp).
Resolving worker runtime to 'dotnet-isolated'.
  Determining projects to restore...
  Paket version 9.0.2+a9b12aaeb8d8d5e47a415a3442b7920ed04e98e0
  The last full restore is still up to date. Nothing left to do.
  Total time taken: 0 milliseconds
  ...
  Fable.Remoting.AzureFunctions.Worker.Tests.FunctionApp -> /workspaces/Fable.Remoting/Fable.Remoting.AzureFunctions.Worker.Tests/FunctionApp/bin/output/Fable.Remoting.AzureFunctions.Worker.Tests.FunctionApp.dll

Build succeeded.

Azure Functions Core Tools
Core Tools Version:       4.3.0+df07acf9d837d635d1efc2c973225f4f1c8a4333 (64-bit)
Function Runtime Version: 4.1042.100.25374

[2025-10-13T16:12:01.407Z] Csproj not found in /workspaces/Fable.Remoting/Fable.Remoting.AzureFunctions.Worker.Tests/FunctionApp/bin/output directory tree. Skipping user secrets file configuration.
[2025-10-13T16:12:02.337Z] Could not find the .azurefunctions folder in the deployed artifacts of a .NET isolated function app. Make sure that your deployment package includes the .azurefunctions folder at the root of the package. For deployment package requirements, see https://aka.ms/functions-deployment-technologies. If this is not intended to be a .NET isolated app, please ensure that the FUNCTIONS_WORKER_RUNTIME app setting is configured correctly.
[2025-10-13T16:12:02.451Z] 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.).

Environment:
GitHub Codespace

Linux codespaces-5f6390 6.8.0-1030-azure #35~22.04.1-Ubuntu SMP Mon May 26 18:08:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions