Using the Miscellaneous Files Project

Tips Search

If you like the tips then you'll love the book!

Order your copy today:
http://www.amazon.com/gp/product/0735649928

Using the Miscellaneous Files Project

  • Comments 1

Menu:  Tools -> Options -> Environment -> Documents
Versions:  2008,2010
Published:  3/30/2010
Code:  vstipProj0012

 

Did you know that Solution Explorer can display a Miscellaneous Files project for files that you do not want to permanently associate with a project or solution, but you still want to track and be able to open quickly?  For example, you can create and edit files by using the Visual Studio editors without creating a project. You can also work on files that you want to use temporarily, for example, files in which you keep development notes while you work on your solution.

 

To get the folder to show up go to Tools -> Options -> Environment -> Documents -> Show Miscellaneous files in Solution Explorer and check this option:

image

 

Pay particular attention to the "items saved in the Miscellaneous files project".  Leaving this value as zero will only show open files and any other number will indicate how many files you want to see at any given time.  I suggest setting this value to at least five to get started if you aren't sure of a value.

 

The Miscellaneous Files Project will not show up until you have at least one file that goes in it.  Once it shows up this is what you will see:

image

  • I use this all the time to find included headers or mfc source that opened while I was debugging. But one caution:

    Hopefully this is fixed in 2010, but in VS 2005, any files that appeared in the Miscellaneous Files folder were locked by VS, whether they were open in the editor or not. Many times I've tried to delete a folder in Windows Explorer and gotten "Access Denied" and it took me quite a while to check if VS was holding on to it.

Page 1 of 1 (1 items)
Leave a Comment
  • Please add 2 and 7 and type the answer here:
  • Post