Reputation: 13
Error XLS0414 in visual studio, The type "MainWindow" not found.
I opened the project one day and this error greeted me. Everything still seems to work fine? I'm just at a loss how to get it to go away. The name of the xaml file is MainWindow.xaml, there is a MainWindow.xaml.vb file, and the opening line to the xaml is "Window x:Class="MainWindow" which it's always had.
I'm very new to visual studio/vb/xaml, how can I fix this or make sure all reference assemblies are built? (VS's suggestion)
Upvotes: 1
Views: 418
Reputation: 5021
Just Build your project/solution, that error should go away.
Upvotes: 1