xamarin NavigationView gives error no resource found for app:headerLayout
<p>I am trying to set up the NavigationView in my Xamarin Android project. I have the Main.axml file structured like this:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:id="@+id/drawerLayout"
    android:layout_width="match_parent"
    android:layout_height="match_parent"&gt;
    &lt;LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"&gt;
        &lt;include
            layout="@layout/toolbar" /&gt;
        &lt;FrameLayout
            android:id="@+id/frameLayout"
            android:layout_width="match_parent"
            android:layout_height="match_parent" /&gt;
    &lt;/LinearLayout&gt;
    &lt;android.support.design.widget.NavigationView
        android:id="@+id/nav_view"
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:layout_gravity="start"
        app:menu="@menu/navmenu"
        app:headerLayout="@layout/headerdrawerlayout" /&gt;
&lt;/android.support.v4.widget.DrawerLayout&gt;
</code></pre>

<p>in my packages.config, I have the AppCompat packages (among others):</p>

<pre><code>&lt;package id="MvvmCross.Droid.Support.V7.AppCompat" version="4.1.7" targetFramework="monoandroid60" /&gt;
&lt;package id="Xamarin.Android.Support.v7.AppCompat" version="23.3.0" targetFramework="monoandroid60" /&gt;
</code></pre>

<p>I get the compiler error:</p>

<pre><code>No resource identifier found for attribute 'headerLayout' in package 'mycompany.myapp'  myapp.Android   C:\Users\JP\Documents\Visual Studio 2015\Projects\MyApp\MyApp.Android\Resources\layout\Main.axml    
</code></pre>

<p>Shouldn't the Resource.designer.cs file automatically bring in these attributes? I must admit to being a little bit unsure of how that process works. Could it be a version conflict somewhere? How does the res-auto fit into everything?</p>

<p>Any help would be appreciated.</p>