[Mono-devel-list] create exe

Daniel Morgan danielmorgan at verizon.net
Sat Feb 12 17:46:09 EST 2005


Does mkbundle work on Win32 with or without Cygwin?

Here, I try running it on Cygwin with new Mono 1.1 runtime:

Administrator at danpc ~/sqlsharpgtkbundle/sqlsharpgtk
$ mkbundle -o sqlsharpgtk.exe sqlsharpgtk.exe Mono.Data.dll 
Mono.Data.SqlSharp.
DatabaseBrowser.dll
Sources: 3 Auto-dependencies: False
   embedding: 
/E:/cygwin/home/Administrator/sqlsharpgtkbundle/sqlsharpgtk/sqlsha
rpgtk.exe

Unhandled Exception: System.IO.IOException: Win32 IO returned 
ERROR_INVALID_NAME
. Path: 
/E:/cygwin/home/Administrator/sqlsharpgtkbundle/sqlsharpgtk/sqlsharpgtk.
exe
in <0x0005a> System.IO.Directory:Exists (string)
in <0x000c1> System.IO.FileStream:.ctor 
(string,System.IO.FileMode,System.IO.Fil
eAccess,System.IO.FileShare,int,bool,bool)
in <0x0001f> System.IO.FileStream:.ctor 
(string,System.IO.FileMode,System.IO.Fil
eAccess,System.IO.FileShare)
in <0x00048> (wrapper remoting-invoke-with-check) 
System.IO.FileStream:.ctor (st
ring,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
in <0x00023> System.IO.File:OpenRead (string)
in <0x002ac> MakeBundle:GenerateBundles (System.Collections.ArrayList)
in <0x003e3> MakeBundle:Main (string[])


Unhandled Exception: System.IO.IOException: Sharing violation on path temp.c
in <0x001b3> System.IO.File:Delete (string)
in <0x007fc> MakeBundle:GenerateBundles (System.Collections.ArrayList)
in <0x003e3> MakeBundle:Main (string[])



Miguel de Icaza wrote:

>Hello,
>
>  
>
>>Hi, I'm using mono on windows XP
>>Is it possible to create an executable that doesn't need of mono or
>>net framework?
>>    
>>
>
>You can use the bundle feature;   See `man mkbundle'.
>
>Notice that today `mkbundle' will produce fairly large self-contained
>executables.  We will be providing a tool in the future to reduce the
>size drastically.
>_______________________________________________
>Mono-devel-list mailing list
>Mono-devel-list at lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>  
>




More information about the Mono-devel-list mailing list