the-carlisle-group/APL2XL

APL2XL does not work in 18.0 using .NET Core 3.1

dyavc opened this issue · 0 comments

dyavc commented

using the test function from issue #18 (and after commenting out the font line)

VALUE ERROR: Undefined name: Compression
Zip[4] System.IO.Compression.ZipFile.CreateFromDirectory temp(outputFile,'.xlsx')

)si
#.Main.Build.Zip[4]*
#.Main.Build.CompileXML[65]
#.Main.Export[91]
#.test[22]

In Main.Build.Zip, I can avoid the issue by removing the .DLL extension from the USING statement, and this allows Dyalog to use .net core's built-in assembly locating

⎕USING←',System.IO.Compression.DLL' ',System.IO.Compression.FileSystem.DLL'
System.IO.Compression.ZipFile.CreateFromDirectory temp (outputFile,'.xlsx')

changed to:
⎕USING←',System.IO.Compression' ',System.IO.Compression.FileSystem'
System.IO.Compression.ZipFile.CreateFromDirectory temp (outputFile,'.xlsx')