Skip to content

APL2XL does not work in 18.0 using .NET Core 3.1 #19

Description

@dyavc

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')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions