Cannot find type System.ApplicationException in module CommonLanguageRuntimeLibrary
<p>I ran a 3rd party Android library through CodenameOne's version of IKVM and successfully imported the output .dll as a reference to my UWP app in Visual Studio. Upon trying to compile the project I get a single build error:</p>

<p>(from the Error List window)</p>

<blockquote>
  <p>Cannot find type System.ApplicationException in module CommonLanguageRuntimeLibrary</p>
</blockquote>

<p>(from the Output window)</p>

<blockquote>
  <p>Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.2\Microsoft.Windows.UI.Xaml.Common.targets(352,5): Xaml Internal Error error WMC9999: Cannot find type System.ApplicationException in module CommonLanguageRuntimeLibrary.</p>
</blockquote>

<p>From what I've read <code>System.ApplicationException</code> is depreciated in .Net for UWP and instead you're supposed to just use <code>System.Exception</code></p>

<p>I don't know how to work around and/or correct this since it's coming from a library and not my own code.</p>

<p>Thanks in advance.</p>