Xamarin Android - How to rebuild Resource.designer.cs

前端 未结 16 560
孤独总比滥情好
孤独总比滥情好 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条回答
  •  情书的邮戳
    2021-02-03 17:39

    I had the exact same issue and none of the answers here worked. Finally I figured that I had some image references in some layouts that did not exist yet. It seems if you have a broken source path, Resource.Designer.cs stops updating without any error. Finally after removing the reference images, the issue was resolved and the Resource.Designer.cs got updated.

    Hope this helps someone!

提交回复
热议问题