Hi! Thanks to Steven and this community for the great player app.
I am interested in making a plugin. I'm a total C# newb and it's a few years since I did coding at all. So I've been following the tutorial, but got stuck. I believe the issue is where methods belong in the code, specifically createMenuItem() and MenuClicked, and/or the call to mbApiInterface.createmenuitem()
If I have the createmenuitem call in the Initialize method as per the instructions (highlighted), then
If createMenuItem() and MenuClicked are outside the Initialize code block, I get “Unreachable code detected”. Everything still runs but there's no menu created.
If the 2 methods are inside the Initialize code block I get “The modifier private is not valid for this item.” Again it doesn't crash but no menu.
If I put mbApiInterface.createmenuitem() outside of Initialize method, I get “The name mbApiInterface.createmenuitem() does not exist in the current context.
I imagine this is a very simple error related to the flow of the code, but I am stumped. If someone could point me right it would be much appreciated!