Excluding folders from solution explorer?

Last post 12-10-2007 10:59 PM by Benson Yu - MSFT. 1 replies.

Sort Posts:

  • Excluding folders from solution explorer?

    12-07-2007, 3:27 PM
    • Member
      370 point Member
    • e2canoe
    • Member since 12-23-2005, 10:05 PM
    • Posts 94

    I use SVN and want to exclude the _svn folders from my Visual Studio 2005 solution explorer folder trees.  How do I do that?  Having them there means that whenever I do a 'Find in Files' hits from files within _svn folders come up.  This is a PITA since, of course, I should be touching the contents of the _svn folders.

    I know that I can select individual files in the solution explorer and exclude them but I don't relish the thought of manually excluding each individual file of my project!

     

  • Re: Excluding folders from solution explorer?

    12-10-2007, 10:59 PM
    Answer

    e2canoe:

    I know that I can select individual files in the solution explorer and exclude them but I don't relish the thought of manually excluding each individual file of my project!

     

    Hi e2canoe,

    For Web Application project, we can right click the folder that we want to exclude, and then select “Exclude From Pojrect” from the context menu. Is there any problem cause you cannot use it?

    If your web project is the website type, I think you have to convert it to web application type for using the build-in "Exclude From Pojrect" feature, becuase we only can exclude object from website project by remote or hidden it. About how to convert web site project to web application project, please refer to the following link:

    Upgrading VS 2005 Web Site Projects to be VS 2005 Web Application Projects
    http://webproject.scottgu.com/CSharp/Migration2/Migration2.aspx

     

    Sincerely,
    Benson Yu
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help. This can be beneficial to other community members reading the thread.
Page 1 of 1 (2 items)