I am creating a Visual Studio package that provides a tool window, and I am trying to make sure that it appears docked to the left edge of the main Visual Studio window when the package is loaded first.
[ProvideToolWindow(typeof(MyToolWindow), Orientation = ToolWindowOrientation.Left, Style=VsDockStyle.Linked, Window=EnvDTE.Constants.vsWindowKindLinkedWindowFrame)])] [ProvideToolWindowVisibility(typeof(MyToolWindow), VSConstants.UICONTEXT.NoSolution_string)] public class MyPackage : Package { ...
I tried the many options above, but the best I managed to achieve was to attach the window to the base - and even then it continues to reinstall every time the package is reloaded, and the position of the user window is not saved.
How can I indicate that my window pane is initially docked to the left of the main window?
source share