8

This has been bugging me for a while; does anybody know when you do a full solution search ( ctrl + shift + F ) how you can exclude a certain folder(s)?

The reason I ask is because in our project we have a folder with kendo js files which are huge and Visual Studio includes these files in its search which causes Visual Studio to crash a lot of times.

PS; I had this in VS 2013, but since a week I'm using VS 2015 and I'm experiencing the same issue.

There are older posts that date from 2009 stating there is no real solution unless you exclude folders from your solution. I wonder if there still is no solution in VS 2015 for this.

Best regards and thanks in advance.

Yannick
  • 91
  • 1
  • 6
  • 1
    Possible duplicate of [How do I tell Visual Studio to exclude folders from the Find in Files?](http://stackoverflow.com/questions/1607069/how-do-i-tell-visual-studio-to-exclude-folders-from-the-find-in-files) – Cody Gray - on strike Mar 08 '16 at 12:31
  • See also: https://visualstudio.uservoice.com/forums/293070-visual-studio-code/suggestions/7757844-setting-to-ignore-folders-in-the-editor – Cody Gray - on strike Mar 08 '16 at 12:31
  • Thanks Cody, seems like that is the answer I was looking for. However I can't seem to mark your reply as the answer. – Yannick Mar 14 '16 at 12:17
  • Well, it wasn't an answer, it was a comment. If you think this question is a duplicate, you should be able to close it as such yourself. – Cody Gray - on strike Mar 14 '16 at 12:20
  • @Yannick What was the solution please?. The link from Cody does not work anymore. – Ondrej Peterka Jul 13 '17 at 11:47
  • The link provided an alternative workaround, because it isn't possible. I can't remember exactly as I did not use it, but I believe they excluded the folder with the big scripts from their project. – Yan Jul 14 '17 at 13:23
  • 1
    I found that using the MSBuild exclusion property is working fine to exclude from global find in Visual studio 2017.. For core projects in Visual Studio 2017 I add the folders to exclude to the project files (.csproj) property .. : e.g. **$(DefaultItemExcludes);wwwroot\**** – AardVark71 Jun 22 '18 at 15:42

0 Answers0