By default Visual Studio organizes my project like this:
However, this view is confusing to me from an organizational perspective as "Source Files" and "Header Files" appear to be folders but are not actual folders on the disk. I read online that there is supposed to be a "Show All Files" button on the Solution Explorer that changes this view but none of my buttons seemed to be labeled that. How can I enable the "Show All Files" view? Sorry if I'm missing something obvious, I'm new to using Visual Studio.
Open your project in Visual Studio > click the Show All Files button > expand the bin , Debug > select and right-click the parent folder > choose Include in Project option. 4).
If you don't see the Solution Explorer tool window, you can open it from the Visual Studio menu bar by using View > Solution Explorer, or by pressing Ctrl+Alt+L.
Usually, . vs folder is required by Visual Studio to store opened documents, breakpoints, and other information about state of your solution. which means It contains typical files like, Temporary caches used by Roslyn for IntelliSense.
It turns out the issue was that the "Show All Files" button does not appear if you are selecting the Solution itself. If you select an underlying Project, or any of the folders/files in the project, the button will display:
And here is the Solution Explorer view after clicking the button:
Note: see also this post for a solution for Visual Studio 2012, which didn't solve my problem but is closely related.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With