问题
- I created a tool window inside visual studio extension using https://docs.microsoft.com/en-us/visualstudio/extensibility/adding-a-tool-window?view=vs-2019. I show some documentation in it based on user inputs from the wizard.Ex : User selected Tab, I show Tab related documentation
- User closed the solution
- User created another project , He changed the user input Ex : Bot is selected
Expected : Bot documentation to be shown
Actual : Tab documentation is shown(Tool window content doesn't change)
Question : How to destroy the tool window and how to create it again?
来源:https://stackoverflow.com/questions/63180631/how-to-close-dispose-tool-window-when-visual-studio-solution-closed-and-create-o