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

error: LoadLibraryEx on mono #7

Open
entonio opened this issue Nov 28, 2016 · 4 comments
Open

error: LoadLibraryEx on mono #7

entonio opened this issue Nov 28, 2016 · 4 comments

Comments

@entonio
Copy link

entonio commented Nov 28, 2016

Hi,

When trying to run this under mono, I get the following:

Loaded assembly: /Users/whatever/InsertIcons/bin/Debug/InsertIcons.exe
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/4.6.1/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll [External]
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/4.6.1/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll [External]
error: LoadLibraryEx

My .NET-fu isn't that strong. Do you have any ideia what this could be and how to go about debugging it? Thanks.

@einaregilsson
Copy link
Collaborator

Sorry, don't really have any ideas. I don't use .NET anymore so I'm a bit rusty :)

@entonio
Copy link
Author

entonio commented Dec 10, 2016

It turns out that a lot of Kernel32 isn't supported under mono. I tried using wine with dotnet installed in order to run it, it did insert the icons but then Windows refused to run the .exe, something to do with not being able to determine the required .net version. I ended up using ResourceHacker.
Thanks anyway!

@einaregilsson
Copy link
Collaborator

Ok, thanks for reporting back, maybe this can help others who run into similar problems. 👍

@niemyjski
Copy link
Collaborator

@entonio would you mind looking into this and submit a pr? Perhaps the latest version might work a little better (.NET 4.7)

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

2 participants