Project

Profile

Help

Bug #2870

closed

ClassNotFoundException in C#

Added by O'Neil Delpratt over 7 years ago. Updated over 7 years ago.

Status:
Won't fix
Priority:
Normal
Category:
.NET API
Sprint/Milestone:
-
Start date:
2016-08-09
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
9.4
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

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

Also available in: Atom PDF