After upgration from Saxon API Version(9.7.0.6) to 10.5.1.0 we get below issue on code sample line: Could not load file or assembly 'IKVM.OpenJDK.Security, Version=8.1.5717.0, Culture=neutral, PublicKeyToken=13235d27fcbfff58' or one of its dependencies. The system cannot find the file specified.
Code Sample: _healthCheckServiceHost = new WebServiceHost(new NancyWcfGenericService(), new Uri(httpEndPoint));
It's a little strange that none of your code samples have any obvious relationship to Saxon.
It's always difficult to advise on configuration/installation issues, because there's such a wide variety of things you can do to make it fail, but the first thing we need is exact details of how you installed the product, and configuration details of your platform.