简体   繁体   中英

Missing Folders in Solution Explorer Created by Project Solution in VS

I'm trying to create a solution projects with different folders under the main src folder. The problem is, they are gone whenever I open the solution explorer of the solution project.

在此处输入图片说明

As you can see on the image, I properly created the folder src as the parent and Services and WebApps as the children folders. But they ended up missing on my solution explorer.

These are solution folders, not physical folders on the file system. Solution folders are for the sake of solution organization, not physical organization.

In order to have physical folders on the file system, create them in eg File Explorer, move your projects there, and add them as necessary into your solution.

The advantage is that the physical (file system) and logical (solution folders) layout may be different, serving different purposes.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM