How to fix An exception of type 'System.TypeLoadException'
<p>i am working on a Universal Windows Platform (UWP 10) C# application where i try to implement an AIML chatBot , but i find problems with this exception :</p>

<pre><code>An exception of type 'System.TypeLoadException' occurred in AIMLbot.dll but was not handled in user code

Additional information: Could not load type 'System.Xml.XmlDocument' from assembly 'System.Xml, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, Retargetable=Yes'.
</code></pre>

<p>is there any thing  i can do, i was thinking about changing the Default.rd.xml !</p>