Xamarin Android - How to rebuild Resource.designer.cs

前端 未结 16 559
孤独总比滥情好
孤独总比滥情好 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:48

    1.Click Resource.designer.cs file from your project.

    2.Click CTRL+A (Select All)

    3.Click Del (Delete all)

    4.Clean and Rebuild your project(if you get message for modified Resource.designer.cs click "Yes to All" button).

    you are now get error for first buildings. but your Resource.designer.cs file is regenerated.you can now second build. its works.

提交回复
热议问题