Bug #2870
closedClassNotFoundException in C#
0%
Description
Reported by user:
Hi,
I've encountered a problem while using the .NET version of Saxon-HE. We've got a .NET Core project which references Saxon-HE 9.4.0.7. If I try to run the following code:
private static readonly Processor Processor = new Processor();
It gives me a ClassNotFoundException for cli.System.Xml.XmlDocument. This is the full error message:
ClassNotFoundException: cli.System.Xml.XmlDocument
at IKVM.NativeCode.ikvm.runtime.AssemblyClassLoader.LoadClass(Object classLoader, Assembly assembly, String name)
Even if I make a blanco ConsoleApplication targeting .NET 4.6.1 and reference Saxon in that project it gives me the ClassNotFoundException.
I've tried cleaning the package cache, I've tried reinstalling Java.
Did someone else encounter this problem? Is it a known issue? What can I do to fix it?
Thanks!
Please register to edit this issue