Thanks for your prompt reply.
I unselect "Track Active Item in Solution Explorer" and clicked the "Sync with Active Document" and that works fine.
I select the file in the editor by clicking on the tab with the file name.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
In VS 2019 I select Tools - Options - Projects and solutions - General and check "Track Active Item in Solution Explorer". However, this does not work for my C# solution. If I select a file in the editor, it does not auto-select in Solution Explorer (sometimes the Solution Explorer scrolls so that the selected item is moved to to the top of this list but this does not always occur. Also, the selected item is never highlighted). I have re-installed Visual Studio 2019 from scratch. I am using Version 16.10.4. Thanks for any help you can give.
Thanks for your prompt reply.
I unselect "Track Active Item in Solution Explorer" and clicked the "Sync with Active Document" and that works fine.
I select the file in the editor by clicking on the tab with the file name.