How to stop Visual Studio from responding to duplicates?

In my team, we put all our projects (only 7 large) in the same solution. And since some code is common to the project, we usually have the same file included in each project. This is normal and compiles / works well. But when I do a global search in my solution, VS performs a β€œstupid” search and looks through all the files in each project, without checking if the file has already been searched.

This leads to a longer search, the results of which are duplicated. Does anyone know a fix for this problem?

+4
source share
1 answer

Why not put everything that would be common to all projects in your own project and connect the entire project with it? Shared functionality should be shared, not duplicated.

+1
source

Source: https://habr.com/ru/post/1308342/


All Articles