title: Is it possible to use a portable library with localized resources in a Universal app?
body: <p>(There's a link at the bottom to a solution with repro of the problem.)</p>
  
  <p>I've been using a portable library with .resx resources for quite some time as it worked for both Windows Store apps and Windows Phone apps. I tried to use it with a Universal app as well, and it works for the Windows Store part, but does not work for Windows Phone.</p>
  
  <p>The problem occurs only when I try to deploy the app on a device (built with the Release configuration). If I just Build it, it does not give an error (but it still can't be deployed on the device successfully). I get the following error:</p>
  
  <pre><code>Error : DEP6810 : MdilXapCompile.exe failed with error code 1004. See log file
  '...\Phone App Test\Phone App Test\obj\Release\MDIL\MDILXapCompileLog.txt' for more details.
  </code></pre>
  
  <p>And in that file:</p>
  
  <pre><code>Error: Compile filter argument specified non-existent file:
  ...\Phone App Test\Phone App Test\obj\Release\MSIL\en-US\PCL.resources.dll
  Invalid argument
  </code></pre>
  
  <p>The file truly isn't there, but the app does not support the en-US culture anyway, only the library does, so I don't think this file should be needed.</p>
  
  <p>Any idea how I can resolve this issue?</p>
  
  <p>Here's a simple solution with the problem: <a href="https://onedrive.live.com/redir?resid=A6C2D3754FAFFD50!19210&amp;authkey=!AJ7wMa8jUu9eMyQ&amp;ithint=file%2czip">link</a></p>