Simple class:
public partial class MainWindow
{
public MainWindow()
{
this.InitializeComponent();
}
}
class MainWindow is underlined red, resharper is complaining that IComponentConnector.Connect is not implemented. Checking the file obj\Debug\MainWindow.g.i.cs the method is there, and the compiler does not complain about anything.
What am I missing? Is this a bug in R#? I've got so many false solution errors at the moment - this count is useless.
Problem persists even after:
Remove System.Windows from your project references.
According to the docs IComponentConnector was moved from WindowsBase to System.Xaml. I think that System.Windows may also be involved, but it isn't documented.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With