Resource.Designer.cs not reloaded after adding menu folder under Resources.

I had an issue in my project with Resource.designer.cs. At some point it stopped refreshing. I've tried every solution on the internet with no success. I decided to create a fresh Android application project. Few hours later I figured out that when I add "menu" folder under "Resources" Resource.designer.cs stops reloading. When I remove it, everything is back to normal.

Is there anyone struggling with same problem or someone who could probably try to reproduce it and give his insight? It's as simple as starting new android app project, adding menu folder under resources, adding xml file in created menu folder and trying to use it by typing Resource.Menu. in MainActivity.

For a record, I've checked it on MacOS with newest stable version of xamarin studio and visual studio community with same result.

Best Answer

  • KamilNKamilN US
    Accepted Answer

    Apparently empty .xml file is not being parsed and throws error which stops resource.designer.cs from further refreshing. This solved my problem.

Answers

  • KamilNKamilN USMember
    Accepted Answer

    Apparently empty .xml file is not being parsed and throws error which stops resource.designer.cs from further refreshing. This solved my problem.

Sign In or Register to comment.