Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dyavc opened this issue Jun 8, 2021 · 0 comments
Open

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

dyavc opened this issue Jun 8, 2021 · 0 comments

Comments

@dyavc
Copy link

dyavc commented Jun 8, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant