Bug #5032
closedSaxon-HE 10.5N NuGet Package cannot simply be used to replace binaries
100%
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:
- The
.nuspec
file specifies that onlysaxon-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 insaxon-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 oldpackages.config
approach where it simply lived in a predictable location inside the source tree). - 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