Now that\'s a real strange error. I am working on a WPF application and following MVVM. In my MainWindow I am setting views and view models and I get this strange error. Alt
I ran into this error, and the problem was that I had a class within the project with the same name of the assembly I was trying to reference. I changed the class name and it worked.