Question

I developed a VS 2008 add-in and added a custom menu item to context menu for "Project" nodes in Solution Explorer.

This allows me to right-click any project in solution and perform a custom operation on that project. Or at least, it would, if I knew how to access the selected project from my Click event handler.

Can someone with more experience please help me?

Was it helpful?

Solution

I think what you're looking for is DTE.ActiveSolutionProjects.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top