VS2005 Tip: Which file am I working on?

track active item in solution explorer

I have it on good authority that the option "Track Active Item in Solution Explorer" is OFF by default in Visual Studio 2005.

(It was on for me... but my build is... kind a weird)

In this case, you won't know which exact file you're working on: only its name. This is a huge pain if you've got multiple projects that each contain files with the same name (e.g. "Web.config")

So if this is a problem for you... head into Tools | Options | "Projects and Solutions" | General and check the check box for "Track Active Item in Solution Explorer"

Good night!

track active item in solution explorer: off by default for web profile

(oh here's why it's sometimes on, sometimes off: "By default, the C# profile has this disabled, while the Web profile has this on" -- thanks to Scott Guthrie)


I'm currently writing a book about how to build your first product. If you want to build your first product, please sign up to be notified when the book is available.

(By the way, I read every comment and often respond.)

Your comment, please?

Your Name
Your Url (optional)
Note: I may edit, reuse or delete your comment. Don't be mean.