I have a solution named Solution1, which has multiple projects named Project1, Project2 etc. In Project1, I have a usercontrol called "DesignElement". When I name the UserControl from the XAML, using the "x:Name" and then compile it, i get the following compile error:
"The type or namespace name 'Project2 ' does not exist in the namespace 'Solution1.Project1.Project2' (are you missing an assembly reference?)"
Where is this reference of Project2 coming in Project1? Why does this compile error arise? Also, if I am not going to use the "x:Name" in any controls, then the solution compiles and runs fine. Any help on the same is appreciated.