Xamarin Android - How to rebuild Resource.designer.cs

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

    It's easier than it seems...

    http://docs.xamarin.com/recipes/android/general/projects/specify_default_namespace/

    You can rename your project by using find/replace, but the resources file will use whatever is set for 'default namespace' in the Main Settings and will continue to revert to this name even if you manually edit the Resource.designer.cs file in or out of Xamarin.

提交回复
热议问题