Xamarin Android - How to rebuild Resource.designer.cs

前端 未结 16 575
孤独总比滥情好
孤独总比滥情好 2021-02-03 17:10

In Xamarin Android - How to regenerate the Resource.designer.cs

I tried to mark all the XML file\'s Build Action as \"AndroidResource\" and still the Resource.designer.c

16条回答
  •  梦毁少年i
    2021-02-03 18:03

    For people that are still having this issue, when you look at the error list some error might say something like "no resource found that matches the given 'toRightOf @id/(name of the resource)' (or any other position in relative layout)... you must highlight all the code of the resource (in the axml file) that has the id, cut, save all, then paste it and rebuilt... then your Resource.Designer.cs will regenerate! hope it helps.

提交回复
热议问题