Skip to content

CodeGenerator.AddFolder Method #238

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

Closed
SzymonSel opened this issue Dec 16, 2014 · 1 comment
Closed

CodeGenerator.AddFolder Method #238

SzymonSel opened this issue Dec 16, 2014 · 1 comment

Comments

@SzymonSel
Copy link

Title

AddFolder method does not include an existing folder to the project.

Functional impact

"[...] If there is already a folder on the disk but that is not part of the project, the folder is added to the project."
This isn't true. Instead an exception is thrown, that a folder with this name already exists.

Minimal repro steps

1.Create a folder in the project
2.Exclude the folder from the project
3.Call AddFolder with the name of the excluded folder

Expected result

The folder should be added to the project

Actual result

COMException is thrown:

"A file or folder with the name 'Models' already exists on disk at this location. Please choose another name."

@aspnet-hello
Copy link

This issue is being closed because it has not been updated in 3 months.

We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.

jkotalik added a commit that referenced this issue Nov 1, 2018
@ghost ghost locked as resolved and limited conversation to collaborators Dec 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants