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

.NET 4.5 mscorlib.dll cannot be read. #23

Closed
tecteun opened this issue Sep 29, 2015 · 7 comments
Closed

.NET 4.5 mscorlib.dll cannot be read. #23

tecteun opened this issue Sep 29, 2015 · 7 comments

Comments

@tecteun
Copy link

tecteun commented Sep 29, 2015

When trying to compile a .net 4.5 project (depending on Azure web jobs SDK)

adding
-net-lib C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.5\mscorlib.dll

results in the following error:
PeReader.Error_message("Error reading compressed data. Invalid first byte: e5")
Build halted with errors (haxe.exe).

Also see
HaxeFoundation/haxe#4151 (comment)

@nadako
Copy link
Member

nadako commented Sep 29, 2015

That's really a Haxe issue, not hxcs, since haxe itself parses IL bytecode.

@tecteun
Copy link
Author

tecteun commented Sep 29, 2015

Still:
👍 +1 for some love

@tecteun
Copy link
Author

tecteun commented Sep 29, 2015

because it seems not related to hxcs.

@tecteun tecteun closed this as completed Sep 29, 2015
@waneck
Copy link
Member

waneck commented Sep 29, 2015

Please add an issue on the Haxe tracker. As for using .net 4, you can add -D net_ver=40 to the Haxe parameters; Normally it's best to use mono's .dlls as they are much more compliant to the .net specification. Anyway we should look at this problem

@joel-arthur
Copy link

Same error for me using Mono's .Net 4.5 .dlls:

PeReader.Error_message("Error reading compressed data. Invalid first byte: e5")

@waneck
Copy link
Member

waneck commented Oct 12, 2015

I don't think @tecteun has added an issue to the Haxe tracker. Please add it, and I'll take a look at it

@joel-arthur
Copy link

Thanks @waneck. Issue opened.

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

4 participants