'Visual Studio doesn't track opened file from Shared Project in Solution Explorer

I'm using Shared Projects to extend the functionality of another project which I don't want to modify.

https://docs.microsoft.com/en-us/xamarin/cross-platform/app-fundamentals/shared-projects?tabs=windows

It works well, but when you search for a class using 'smart search' (CTRL + Q) or Go To All, it doesn't track the active file in the Solution Explorer. If for the first time you open the file from Solution Explorer, then search for it again it does work, but it's an extra step that you always have to do.

Is there a way to make the tracking work from search and 'Go To All'?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source