title: Error Creating UWP store package or Release Build - Out of Memory
body: <p>Want to submit my app to the windows store but I am getting compile errors.
  If I try to create a <code>Release Build</code> or if i try <code>Create App Packages</code> of my app I eventually get the following.</p>
  <blockquote>
  <p>ILT0005: 'C:\Program Files (x86)\MSBuild\Microsoft.NetNative\x86\ilc\Tools\nutc_driver.exe @&quot;C:\Users\garet\documents\visual studio 2015\Projects\TestUwpProject\TestUwpProject\obj\x86\Release\ilc\intermediate\MDIL\TestUwpProject.rsp&quot;' returned exit code 1</p>
  <p>Out of Memory</p>
  </blockquote>
  <p>Things I have tried.</p>
  <ul>
  <li>Move the project to a different drive</li>
  <li>Recreate the project</li>
  <li>Move project to a different device (Laptop).</li>
  </ul>
  <p>Note:- my laptop I tried it on is running VS2017 RC and the latest insider preview of windows 10.</p>
  <p>The only thing i can note is that if I create a blank project and add all the nuget packages etc it compiles fine which seem to mean an issue with my code but I wouldn't know where to start.</p>
  <p>Issue looks similar to this but I am not using EF.</p>
  <p><a href="https://stackoverflow.com/questions/36162610/out-of-memory-error-when-compiling-uwp-app-in-release-mode-with-net-native">Out of memory error when compiling UWP app in release mode with .Net native</a></p>