Adding a folder structure to a Visual Studio solution

Can I add a folder structure to Solution Elements without manually adding each level of the tree?

We have a multi-project solution that requires several third-party libraries, at least one of which has a multi-layer tree.

We have a libs folder at the root level of the solution along with all other projects.

Responses to "Show hidden files", etc. do not work for solution elements, only within the project.

Is there any way around this?

Do we need to add their folder by folder if we want them to be at the solution level?

(A similar question has been answered many times regarding Visual Studio projects. However, my question is about Visual Studio solutions.)

+6
source share
2 answers

Why do you want the libs folder to be in the solution? What are the benefits of this decision? It should just contain compiled DLLs.

-4
source

Solution packages are just logical groupings of elements. I do not think that they relate to the file structure of your system. That’s why you don’t see them with the Show Hidden Files feature. You must right-click on the solution, add a new folder, and then right-click on the folder to add existing items or subfolders.

+6
source

Source: https://habr.com/ru/post/887726/


All Articles