| | |
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
| Thread Tools | Search this Thread |
.net .net2008 2008 access advanced application array basic beginner browser button buttons center click client code combo convert cuesent data database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationtopic eclipse excel exists fade filter forms function generatetags html images input intel internet listview map mobile module monitor msaccess net number objects open panel pdf picturebox picturebox2 port position print printing problem read regex remove right-to-left save search searchvb.net select serial settings shutdown socket sqldatbase sqlserver survey temperature textbox timer timespan transparency txttoxmlconverter user usercontol vb vb.net vba vbnet visual visualbasic visualbasic.net visualstudio.net visualstudio2008 web winforms winsock wpf wrapingcode xml year






