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

Project File/Directory management is broken. #273

Open
KaylanTussey opened this issue May 13, 2024 · 0 comments
Open

Project File/Directory management is broken. #273

KaylanTussey opened this issue May 13, 2024 · 0 comments

Comments

@KaylanTussey
Copy link

If you delete the generated source file in a newly created project, then right click the project in the solution explorer and go to Add -> New Folder, a directory naming bug occurs on disk. The project folder inside the solution folder gets renamed to whatever you named the new folder, and a new folder with the default name of "pkg" is created in the wrongly named project folder. But if you leave the generated source file and add a new folder to the project in the same way, this problem doesn't happen. The project folder is still correctly named, and the new folder is created inside the project folder along with the generated source file as expected.

To recreate the bug, you can create a new console project. Then right click the generated source file in the solution explorer and click remove, then delete. Then right click the project in the solution explorer and click Add, then New Folder. Name the folder what ever you want. Then if you browse to the solution folder in a file explorer, you should see the project folder is now named the same as the file you created. And if you open it, there is a folder named "pkg".

1: A new console project with default settings.
1

2: Deleted the generated source file that has the same name as the project.
2

3:Right clicked on the project in solution explorer, then added a new folder called NewFolder.
3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant