简体   繁体   中英

Visual Studio 2013 showing hidden files in solution explorer incorrectly

Even though I have the "Show All Files" turned off, solution explorer is showing hidden files and files not part of the project (generated JavaScript files from TypeScript for example). I've clicked this on and off again many times to no effect. Any suggested solutions?

The "Show All Files" button in Solution Explorer works on a per-project basis: toggling the button will only affect the visibility of files under the Project node which is the parent of the currently selected (or last-selected) file, which understandably might lead to user-unexpected behaviour (personally I would redesign the Solution Explorer to have 2 toolbars: one for solution-wide options, and the other, positioned below, for per-project options.

Some projects don't have a concept of "included" or "excluded" files, such as "Website projects" (as opposed to "Web Application projects"), where all files in the filesystem are visible in the tree-view - or in Visual C++ projects where the Show All Files button switches to a 'virtual' project view with artificial groupings as folders (Headers, Sources, Resources, etc) instead of filesystem directories.

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