Mono mkbundle windows

I used mono mkbundle on cygwin to compile a dot network application and it works fine. I used the instructions here C # cywgwin mono mkbundle windows 7 - unable to compile file

The finished application will not work if the following files (copied from the mono / bin folder) are in the same folder as the application: mono.dll, libglib-2.0-0.dll, libgthread-2.0-0.dll, zlib.dll

This is all fine, but if I run the command (from cygwin)

$ objdump -p mycompiledapp.exe | grep "DLL Name"
(where "mycompiledapp.exe" is the name of the application)

The files mono.dll, libglib-2.0-0.dll, libgthread-2.0-0.dll are already built into my application.

Why should these files be in the same folder as my application in order for it to function when they are already embedded in my application?

Did I do something wrong when compiling?

Is there any way: a) Do not embed these assemblies in my application (so that they can be distributed with it)
b) Compile my application so that it knows that these assemblies are built into the application and use them? (and should not distribute these files with the application)

It seems to hurt to distribute these files with my application when they are already built into it! (Especially considering the size of these assemblies - an application with a size of 50 thousand points is available approximately 5 megabytes in the form of a compiled mono application, and this must be distributed with an additional 4 megabytes of assemblies so that it can function ... e)

Thanks for any info,

Smithy

0
source share
1

- mkbundle. , Mono (mono.dll), LGPL. libglib libgthread, . , LGPL .

+1

All Articles