❔ MC3050 compiler error
I added a new project with some custom WPF controls to my project's dependencies. I then added the control to my form, but while the designer accepted the control happily, the XAML compiler is issuing errors that it can't find the control. I'm lost as to why. Same with bindings to the some properties declared by my form. I've heard deleting the .vs folder can fix these problems, but that reset a lot of things. Does someone have a better solution? I have
xmlns:local="clr-namespace:BestChat.IRC.Global.View" and xmlns:IrcCtrls="clr-namespace:BestChat.IRC.Global.View.Ctrls;assembly=BestChat.IRC.Global.View.Ctrls" declared on the root element. The binding that complains about not being able to find the dialog class is {Binding Msg, Mode=OneWay, NotifyOnSourceUpdated=True, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type local:NetworkEditorDlg}}}. The usage of the control is <IrcCtrls:NetworkLogInModesComboBox ... and that control is declared as NetworkLogInModesComboBox in namespace BestChat.IRC.Global.View.Ctrls in the assembly BestChat.IRC.Global.View.Ctrls.dll.