I created a toolwindow in the code using following code:
The above code threw an exception:
'0d9e8171-a581-4b7e-9ca5-31f210849abc' is not a valid value for property 'Name'.
It worked when I changed the name to something like "toolwindow1". But the problem is that we would like to use a GUID as the window name to avoid windows having same names. Any suggestion on this problem?
ToolWindow tw = new ToolWindow(dockSite, '0d9e8171-a581-4b7e-9ca5-31f210849abc', title, windowImageSource, windowContent);
'0d9e8171-a581-4b7e-9ca5-31f210849abc' is not a valid value for property 'Name'.
It worked when I changed the name to something like "toolwindow1". But the problem is that we would like to use a GUID as the window name to avoid windows having same names. Any suggestion on this problem?