I used the VS 2010 SDK to create and show a custom ToolWindowPane
with a WPF control as content. I create a new instance and show it each time a Tool menu item is clicked (the ProvideToolWindow
attribute has MultiInstances = true
).
When the user attaches the debugger (e.g., hits F5 while in C# project) my ToolWindowPane suddenly hides. I'd like to make sure my tool window is always visible while open, no matter what context the user is in. Is there a way I can enforce that?
I've tried using the ProvideToolWindowVisibility
attribute but that automatically shows a new instance of my tool window rather than keeping a remaining one open.