943,865 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Unsolved
  • Views: 1011
  • VB.NET RSS
Nov 22nd, 2008
0

Minimum Distribution of Mono for a VB.NET project

Expand Post »
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
Reputation Points: 10
Solved Threads: 1
Newbie Poster
hbmichael is offline Offline
12 posts
since May 2008
Nov 22nd, 2008
0

Re: Minimum Distribution of Mono for a VB.NET project

That IS the runtime i think

The runtime for microsofts .NET 3.5 is 250mb+
Moderator
Featured Poster
Reputation Points: 1767
Solved Threads: 574
Moderator
jbennet is offline Offline
16,517 posts
since Apr 2005
Nov 23rd, 2008
0

Re: Minimum Distribution of Mono for a VB.NET project

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.
Reputation Points: 10
Solved Threads: 1
Newbie Poster
hbmichael is offline Offline
12 posts
since May 2008
Nov 24th, 2008
0

Re: Minimum Distribution of Mono for a VB.NET project

flagged as spam
Moderator
Featured Poster
Reputation Points: 1767
Solved Threads: 574
Moderator
jbennet is offline Offline
16,517 posts
since Apr 2005
Nov 24th, 2008
0

Re: Minimum Distribution of Mono for a VB.NET project

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.
Reputation Points: 10
Solved Threads: 1
Newbie Poster
hbmichael is offline Offline
12 posts
since May 2008
Nov 24th, 2008
0

Re: Minimum Distribution of Mono for a VB.NET project

Quote ...
flagged as spam? Does that mean my question is spam? I hope not.
no some spam got posted, it has since been deleted.

Thanks for posting your solution.
Moderator
Featured Poster
Reputation Points: 1767
Solved Threads: 574
Moderator
jbennet is offline Offline
16,517 posts
since Apr 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: DataSet and Command Object
Next Thread in VB.NET Forum Timeline: There is already an open DataReader associated with this Command which must be closed





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC