Control (Name) not found in XAML.CS

When you copy a user control from one project to another (and changes the namespace manually) there is a chance of missing the reference in the project; i.e. visual studio fails to link the XAML and XAML.CS. This in turn will stop the XAML.CS in reading the control name..

 

To avoid this, either you can copy the file to the project folder and user “Add Existing item” to insert the file to the project or Create a new Item and paste the content from the existing user control.

;) Happy Coding!

Comments