A little while back my Visual Studio 2008 on my work PC started giving me hassles where it just decided to stop tracking the active file I’m working on in the Solution Explorer.
I just ignored it up until now but it’s been bugging me again so I wanted to know what was up. Some people were saying it was a Vista and VS2008 SP1 issue but I’m almost certain it wasn’t always acting like this.
It seems there’s a little checkbox that just needs to be checked again to rectify this.
With the Visual Studio 2008 IDE open go to Tools -> Options and click on the Projects and Solutions node in the tree list.
Then simply make sure the “Track Active Item in Solution Explorer” checkbox is ticked and click OK – et voila, your solution explorer is working like it should be again.