Xamarin Android - How to rebuild Resource.designer.cs

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

    In Visual Studio 2019, if you deleted Resources.Designer.cs, just right click "Resources.resx" file in solution explorer and choose "Run custom tool"

    This will recreate the file.

    "ResXFileCodeGenerator" must be set in Resources.resx file properties (but is set by default)

提交回复
热议问题