How to solve this error? - 'Resource.Layout' does not contain a definition for axml file
I just deleted my newly created axml file, rebuild, add it again, and this time, clean and rebuild.
Everytime I added a new axml file, I clean and rebuild. That's all, thank you :).
For me it is caused by namespace changes. After I corrected the namespace in project properties, then I can build again
Actually this problem occurs when your ResourceDesigner.cs file has not yet mapped the file that you added to your resource directory. The easiest way i would suggest to handle this situation is you comment the code you are trying to write and clean build your project and it will work like a charm. Good luck!