Hello everyone!
I have combed the internet like crazy and found some people with the same issue. They seem to be able to solve it with a simple rebuild. I am not, though. I have added a folder named "menu" under "Resource". Inside the menu-folder i have added a file called "mymenu.xml". Well, when i try to write:
public override bool OnPrepareOptionsMenu(IMenu menu)
{
MenuInflater.Inflate(Resource.Menu.mymenu, menu);
return base.OnPrepareOptionsMenu(menu);
}
It stops on Resource. Writing menu only gets me a "does not contain a definition for menu". I have tried rebuilding and every tip ive seen online. Have anyone encountered this? Does anyone know if its fixable? I have tested the same procedure in other projects, and i get the same issue. Im sure im overlooking something really simple, but ive been struggling for 2 days now. Any help is deeply appreciated!