I am trying to bundle my C# application(.exe) with its dependent dlls, a Native dll and required .net assemblies to single exe using mkbundle.
So, first of all is it possible to do so using mono mkbundle?
If yes, when I try to do it using command
C:\MyProjDir>mkbundle -o BundleName --deps OriginalAppName.exe
When compiling
as -o temp.o temp.s
I get error:
'as' is not recognized as an internal or external command, operable program or batch file. [Fail]
I found somewhere that I need to install gcc, gcc-mingw and as packages. (sic). I did install gcc, gcc-mingw but I don't know where to find as packages which is the error. Please suggest if there is any other way of doing it. Thanks
You can use ILMerge
For the Native DLL you can embed the DLL as an application resource, and extract the resource to disk at the time of execution.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With