❔ 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.

Severity    Code    Description    Project    File    Line    Suppression State
Error    MC3050    Cannot find the type 'local:NetworkEditorDlg'. Note that type names are case sensitive. Line 51 Position 5.    IRC.Global.View    B:\Contents\Best Chat\Code\IRC\Global\View\NetworkEditorDlg.xaml    51    
Error    MC3050    Cannot find the type 'local:ServerDomainEditorDlg'. Note that type names are case sensitive. Line 65 Position 5.    IRC.Global.View    B:\Contents\Best Chat\Code\IRC\Global\View\ServerDomainEditorDlg.xaml    65    
Was this page helpful?