Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A confusing dialog pops up when adding a new endpoint for a function project #50

Closed
v-ruizh opened this issue May 9, 2020 · 1 comment · Fixed by #54
Closed

A confusing dialog pops up when adding a new endpoint for a function project #50

v-ruizh opened this issue May 9, 2020 · 1 comment · Fixed by #54
Labels
AT-CTI Created by CTI team
Milestone

Comments

@v-ruizh
Copy link

v-ruizh commented May 9, 2020

OS: Windows
Build Version: 0.1.0-alpha

Repro Steps:

  1. Create a JavaScript project with HttpTrigger function using Functions extension.
  2. Open this project in VS Code.
  3. Click the 'Create Endpoint...' button and provide an endpoint name.

Expect:
Succeed to create the endpoint for the function project.

Actual:
A confusing dialog "The selected folder is not a function project. Create new project?" pops up.
image

@v-ruizh v-ruizh added the AT-CTI Created by CTI team label May 9, 2020
@nturinski
Copy link
Member

This error is happening because the Functions project is automatically created in an "api" folder rather than the root of your project.

With this #54, the dialog will no longer come up and it will just create the project in an "api" folder. I think that this issue should be considered fixed after merging.

@nturinski nturinski added this to the v0.1.0 milestone May 13, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Feb 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
AT-CTI Created by CTI team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants