In MSVC several operations (such as Menu: Build: Build ) are context sensitive to the currently selected Solution Project. However, that Project often changes if you've been navigating Solution Explorer.
I'd like to write a macro that find the project specified as the "startup project", and the selects it to make it active. I haven't found the appropriate DTE calls though.