Project

Profile

Help

Bug #5032

closed

Saxon-HE 10.5N NuGet Package cannot simply be used to replace binaries

Added by Emanuel Wlaschitz almost 3 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
2021-06-29
Due date:
% Done:

100%

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

Description

We just tried to upgrade Saxon-HE .NET in one of our projects to use the official NuGet Package instead of binaries that were copied from an installation of the .NET version.

And there was basically two issues that prevented us from doing this:

  1. The .nuspec file specifies that only saxon-he-api-10.5.1.dll should be referenced, but not the others. This is a problem when consuming (or implementing) various types that live in saxon-he-10.5.1.dll; and adding a DLL reference by hand seems like a terrible hack (and not even a viable workaround, especially when NuGet packages using <PackageReference> live in a location that cannot be easily referenced, compared to the old packages.config approach where it simply lived in a predictable location inside the source tree).
  2. As reported in #4759, IKVM.OpenJDK.Localedata.dll is missing from the distribution yet again (this also affects the installer, not just the NuGet package). 10.3 still had it (which can be a 50/50 between "we don't need it anymore" vs. "we forgot to include it")

For 1. a 3rd party package named Saxon-HE-norefs exists that simply removes the <references> tag (so that NuGet references all the assemblies by default), but since it is neither official nor available for 10.5 (yet?) we'd rather not use it here (especially as we'd also like the fix from #4839 so we can replace a lot of old code with very little XSLT).

For 2., I can only guess; and erring on the side of caution I'm thinking it should still be there (since it is the same IKVM version as before)

Please register to edit this issue

Also available in: Atom PDF