title: Invalid resource directory name obj\Debug\res menu.png
body: <p>I try to do a hamburger menu, but I have an exception when I try to compile the solution. I'm developing a Xamarin Cross Platform Application.</p>
  
  <p>I have the exception:</p>
  
  <p>obj\Debug\res menu.png project.Android invalid resource directory name</p>
  
  <p>And the code when I use the menu.png file is:</p>
  
  <pre><code>Icon = Device.OS == TargetPlatform.iOS ? "menu.png" : null;
  </code></pre>
  
  <p>I add the png file as an already exists element on "Resources" folder at iOS and Android project. I check that the file exists in the folder and I follow this steps to try to fix it, but it doesn't work for me:</p>
  
  <p><a href="https://stackoverflow.com/questions/47436465/invalid-resource-directory-name-font-xamarin-android">Invalid resource directory name &quot;font&quot; Xamarin Android</a></p>
  
  <p>Can anyone helps me? Thanks!</p>