microsoft / vscode-azurefunctions

Azure Functions extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurefunctions
MIT License
291 stars 132 forks source link

An error occurs after executing "Execute Function Now..."for the Python V1 containerized function project #4046

Open v-xinda opened 5 months ago

v-xinda commented 5 months ago

OS: All Build Version: 20240318.2 Regression: Not a Regression

Repro Steps:

  1. Create a Python V1 containerized function project and open it in VS Code.
  2. F5.
  3. Navigate to "Workspace" view -> Expand "Local Project" -> Expand "Functions" -> Right click function -> Click "Execute Function Now...".
  4. Check whether no error occurs.

Expect: No error occurs.

Actual: An error occurs. image

More Info:

  1. "No job functions found" show in the Output. image
  2. This issue doesn't reproduce for Python V2 containerized function project.
  3. There is no function under the "Functions" node after creating a containerized function app with a Python V1 containerized function project.