|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
How to: Manage Files in the Miscellaneous Files Folder
The Solution Explorer can display a folder for files that are useful but which you do not want to permanently associate with a project or solution. The Miscellaneous Files folder tracks the usage of these files, and enables you to quickly open miscellaneous files that you have recently used.
For example, you can create and edit files using the Visual Studio editors without creating a project. Or you can work on files that you want to use temporarily, such as creating files for development notes while you work on your solution. For information about files you to permanently associate with a solution, see Solution Items.
If you want the folder for miscellaneous files to appear in the tree view of Solution Explorer, you need to select that option explicitly.
You can create a new file or edit an existing file. If the file is not associated with an open solution or project, the file appears in the Miscellaneous Files folder.
Some of the files that do not appear in the Miscellaneous Files folder are files that you cannot modify within the IDE, such as .zip files and .doc files. The IDE will not track files that can only be modified through an external editor.
To display the Miscellaneous Files Folder
On the Tools menu, select Options.
In the Options dialog box, expand the Environment node and choose Documents.
Select Show miscellaneous files in Solution Explorer.
Specify the number of documents you want to appear in the folder.
If you leave the value at zero (0), then the folder only displays files that are currently open and not those that you have closed.
You can edit and save a miscellaneous file in Visual Studio or you can disassociate it from your solution by removing it from Solution Explorer. However, to physically delete it from storage you need to use Windows Explorer.
To create a miscellaneous file
On the File menu, choose New and then choose File.
In the New File dialog box, select a Category from the left pane.
From the right pane, choose a Template and then choose Open.
If you want to use a different editor than the current default editor, you can change or add an editor. For more information, see How to: Change or Add a Default Editor.
Enter the contents you want saved in the file, and then save it.