| | |
Minimum Distribution of Mono for a VB.NET project
Please support our VB.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: May 2008
Posts: 12
Reputation:
Solved Threads: 1
Hey All,
Does anyone know, or have a link to an article, that would tell me how to distibute a .net MONO application? The full package of Mono is like 75 MB but I know al lot of that is the compiler and libraries that I don't need.
I just want the minimum runtime files.
What files would I need to distribute for a simple 'Hello World' winforms app?
Thanks
Michael
Does anyone know, or have a link to an article, that would tell me how to distibute a .net MONO application? The full package of Mono is like 75 MB but I know al lot of that is the compiler and libraries that I don't need.
I just want the minimum runtime files.
What files would I need to distribute for a simple 'Hello World' winforms app?
Thanks
Michael
•
•
Join Date: May 2008
Posts: 12
Reputation:
Solved Threads: 1
Well, the download itself contains the runtime and the compiler and tools and such. There are vague instructions on the mono web site about it at
http://www.mono-project.com/Small_footprint
But its not really a tutorial or anything. I'm looking for a
include file1.*, file2.* in your apps directory. They say the smallest install is 3.7MB but don;t give the files for the JIT.
I figured someone has done this before since its one of the advantages of the Mono project, I'm just not familiar enough to do it.
http://www.mono-project.com/Small_footprint
But its not really a tutorial or anything. I'm looking for a
include file1.*, file2.* in your apps directory. They say the smallest install is 3.7MB but don;t give the files for the JIT.
I figured someone has done this before since its one of the advantages of the Mono project, I'm just not familiar enough to do it.
•
•
Join Date: May 2008
Posts: 12
Reputation:
Solved Threads: 1
flagged as spam? Does that mean my question is spam? I hope not.
Anyway, I've been playing with it a bit and heres what I came up with for the minimum files.
I created a directory for my app. In that directory I created two more directories
\bin
\lib\mono\2.0
in the \mono\lib\mono\2.0 I put the mscorlib.dll file
in the \bin directory I put the following
Accessibility.dll
MyApp.exe (this is the basic Hello World I did in VS2005)
iconv.dll
intl.dll
libglib-2.0-0.dll
libgthread-2.0-0.dll
Microsoft.VisualBasic.dll
mono.dll
mono.exe
Mono.Posix.dll
System.dll
System.Drawing.dll
System.Windows.Forms.dll
Then, from the \bin directory I ran 'mono MyApp.exe' and it worked!
Basically I just started deleting files until it stopped working and then I would put the file back and continue.
This brought the total distribution down to 11 MB and zipped up it was under 5MB with no need to install the .NET Framework.
Anyway, hope this helps someone else trying to do the same thing.
Anyway, I've been playing with it a bit and heres what I came up with for the minimum files.
I created a directory for my app. In that directory I created two more directories
\bin
\lib\mono\2.0
in the \mono\lib\mono\2.0 I put the mscorlib.dll file
in the \bin directory I put the following
Accessibility.dll
MyApp.exe (this is the basic Hello World I did in VS2005)
iconv.dll
intl.dll
libglib-2.0-0.dll
libgthread-2.0-0.dll
Microsoft.VisualBasic.dll
mono.dll
mono.exe
Mono.Posix.dll
System.dll
System.Drawing.dll
System.Windows.Forms.dll
Then, from the \bin directory I ran 'mono MyApp.exe' and it worked!
Basically I just started deleting files until it stopped working and then I would put the file back and continue.
This brought the total distribution down to 11 MB and zipped up it was under 5MB with no need to install the .NET Framework.
Anyway, hope this helps someone else trying to do the same thing.
![]() |
Other Threads in the VB.NET Forum
- Previous Thread: DataSet and Command Object
- Next Thread: There is already an open DataReader associated with this Command which must be closed
Views: 664 | Replies: 5
| Thread Tools | Search this Thread |
Tag cloud for VB.NET
.net .net2008 2005 2008 access account application array arrays basic bing browser button buttons c# center check checkbox code convert crystalreport cuesent data database datagrid datagridview date datetimepicker dissertation dissertations dissertationtopic dropdownlist eclipse excel fade file-dialog filter ftp generatetags gridview images inline input insert intel internet lib listview mobile monitor net objects output panel passingparameters pdf picturebox port position print printing problem read remove save searchbox searchvb.net select serial settings shutdown soap sorting survey table tcp temperature text textbox timer timespan transparency trim update user validation vb vb.net vb.netformclosing()eventpictureboxmessagebox vb2008 vbnet visual visualbasic visualbasic.net visualstudio2008 web webbrowser winforms wpf year






