Amended FarPackage, the installer of FarNet NuGet packages #32
nightroman
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It turns out NuGet starting from 4.6.0 does not encode file names as URLs in created packages.
NuGet/NuGetGallery#7955
And the issue is closed as "won't fix".
As a result,
System.IO.Packaging
originally used by FarPackage misses some files.E.g. file names with spaces, some symbols, non Latin, etc.
Fortunately official FarNet packages do not use such names.
Thus, FarPackage now uses
System.IO.Compression
instead and treats packagesas zip files, with some assumptions about the structure. The problem is solved.
Commit: 33dcafc
Beta Was this translation helpful? Give feedback.
All reactions