Tuesday, January 27, 2015

Resource.designer.cs not updating Xamarin

Sometimes Resource.designer.cs file does not update by itself.. I faced this problem few days back.
It happens when any xml file does not update properly.
Generally, Resource.designer.cs file updates automatically whenever any changes take place in the xml files. But, if you do not save the xml file properly the Resource.designer.cs file may not update itself.Or sometimes if you have lot of errors or garbage files in your project Resource.designer.cs will not update

If you are facing the same problem, do not panic... You simply need to do the following steps..
1. Clean the project (for removing the garbage files)
2. Save all the files
3. Rebuild the project successfully (with no error, warning will do no harm)



Hopefully the Resource.designer.cs will update automatically..

Do not modify or delete the Resource.designer.cs. This page is auto generated like R.java file of Eclipse...

You can use this same procedure for Visual Studio. 


No comments:

Post a Comment