Visual Studio "Track Active Item in Solution Explorer" does not work

NyNative 21 Reputation points
2021-08-15T03:30:19.41+00:00

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.

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,010 questions
{count} votes

1 answer

Sort by: Most helpful
  1. NyNative 21 Reputation points
    2021-08-15T15:23:21.03+00:00

    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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.