If your xaml file and xaml.cx file are separated for some reason and they have lost their connection, you got to watch this video how to combine them back together. I searched a lot to find this solution hence I hope you could also enjoy from my experience to solve your own problem.