I've got this piece of code in my MainActivity.cs of my Xamarin.Android project.
ToolbarResource = Resource.Layout.Toolbar;
Somehow I get the error: Resource.Layout doesn't contain a definition for Toolbar. I don't understand why, because I've got the Toolbar.xml file in my layout folder. Can anyone help with this?