workspace (vsc) & function app

Ranya Hassan - MS Cloud - IO HWAN 60 Reputation points
2024-03-26T02:05:15.2466667+00:00

Hi Team,

if I need to switch to another folder within the workspace (vsc) to deploy it to a different function app, how can I do that, and how can I ensure the workspace is selecting the correct folder?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,002 questions
{count} votes

Accepted answer
  1. MayankBargali-MSFT 70,451 Reputation points
    2024-03-26T05:58:26.7166667+00:00

    @Ranya Hassan - MS Cloud - IO HWAN This document which I shared previously covers how you can have Mutiple projects in the same workspace. There are two ways that are documented, and I have tested the same at my end and I can see multiple projects are added to my workspace as below.

    User's image

    I have tried option two at my end and you can see in one workspace I was able add two different functions projects.

    User's image

    If you need to create the different workspace for different azure function local project, then you can simply open them from explore and save the workspace individually

    User's image

    To deploy the function that has multiple projects on the same workspace then you can simply click on function on the workspace panel and then click on Deploy to Function App and now it will ask you to select which function you want to deploy from your local machine and then you can configure the resource and other details.

    User's image

    In case if I misunderstood your ask then please let me know.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.