title: Visual Studio (xamarin) hanging on every build, clean, or rebuild with AAPT.exe running in the background while it does this
body: <p>I've been banging my head against the wall for the last few days trying to figure this out.</p>
  
  <p>Here is whats happening:</p>
  
  <ol>
  <li>Anytime I open the project VS hangs responding every once in a while for a click I made a minute or so before. While you watch task manager you see that AAPT.exe is popping up every few seconds and running for a moment, after about 3-5 minutes it completes whatever it is doing and vs starts working again until I do one of the other things that sets it off.</li>
  <li>Same thing when I clean the project.</li>
  <li>Same thing when I build/rebuild the project.</li>
  <li>When debugging to a physical device it will build and deploy to the device, then hang with the same issue for a few minutes before starting the debug</li>
  </ol>
  
  <p>What I have discovered:</p>
  
  <p>This issue could possibly be related to this bug report <a href="https://bugzilla.xamarin.com/show_bug.cgi?id=43081" rel="noreferrer">https://bugzilla.xamarin.com/show_bug.cgi?id=43081</a> however following the instructions provided on that don't help and only cause more errors.</p>
  
  <p>It seems that aapt is crunching my pngs and that is causing the hang, however I only have a few small icons in terms of images in the entire project, nothing that should take 2-3 minutes to compress.</p>
  
  <p>What I have tried:</p>
  
  <ol>
  <li>Update all android sdks and resources to the latest available.</li>
  <li>Update java(64bit) and removed all other instances of it besides the newest one</li>
  <li>Removed and reinstalled all android resources.</li>
  <li>Repaired Visual Studio(community 2015)</li>
  <li>Nuked VS with <a href="https://github.com/Microsoft/VisualStudioUninstaller/releases" rel="noreferrer">https://github.com/Microsoft/VisualStudioUninstaller/releases</a></li>
  <li>Attempted to install VS 2017 community however it never functioned with the error CLR20r3 from mscorlib 4.6.1 with the error being 'remoteHostService.servicehub.service.json' could not be found(I checked it existed where it should be, and it referenced VsixServiceDiscovery: A procedure imported by 'Microsoft.VisualStudio.Settings.15.0.dll' could not be loaded. (I unfortunately dont have the full trace anymore I got rid of 17)</li>
  <li>After all that I reinstalled vs 15, which I got working(barely) but it still has the exact same issue as when I started.</li>
  </ol>
  
  <p>At this point my next step is to nuke my computer completely, which I don't really want to do, so I'm desperately hoping that someone knows how to fix this.</p>