I would like to use a WPF definition for my ToolWindow but I have some trouble with the Registrar. I created a new xaml UserControl (class that extends UserControl) with a C'tor that takes IVsUIShell as argument. When I try to register it like here in the documentation :
var window = new SomeUserControl(shell);
It tells me that the Type SomeUserControl must be convertible to System.Windows.Forms.Control in order to use it as parameter T in the generic method BindToLifetime. Using ReSharper-provided controls works fine. Or do I have to add WPF Controls to my xaml and register them instead of the whole class? Also it seems that the documentation is outdated for resharper 8. There is no ToolWindowDescriptor attribute called Id and Guid anymore. The id is now called ProductNeutralId and the guid was removed. Adding a working example for wpf forms and ToolWindows would be nice, the documentation for Optionpages and Wpf is much more extensive.