[Mono-devel-list] implicit bootstrap from a zip/gz file?

Jonathan Pryor jonpryor at vt.edu
Mon May 10 19:13:14 EDT 2004


Client-side, an archive file format support isn't needed, as the PE
format provides this functionality already (modulo compression).

As such, you can already embed images (.png files), icons, .glade
interface description files, plain text, and anything else into the
assembly file.

See the -resource compiler flag in mcs(1).

So, for the *client*, no additional work is needed.  Package your
resources into assemblies (possibly satellite assemblies), and you're
done.  The .NET assembly loader should take care of the rest.

Server side is a different matter, as ASP.NET isn't going to look for
web.config files inside an assembly.  Rafael Teixeira mentioned that
this is in the pipeline for ASP.NET 2.0.

And I don't think `unzip' or `tar xzf' is too much to ask for from a
system administrator. :-)

 - Jon

On Mon, 2004-05-10 at 12:51, Rafael Ferreira wrote:
> Hey everyone, 
> 
> Has anyone thought about adding an implicit tar "de-archive" to mono.exe to
> allow things like: 
> 
> mono -tar blah.tar.Myclass
> 
> So the main() method in myclass gets bootstrapped? YES, this is the same as
> java jar files...
> 
> I understand that you can add resource files to a dll/exe but I'm not sure
> it that allows for a single dll to contain everything an application needs.
> This would be extra nice for web applications where you can bundle up all
> aspx/dll/png files. 
> 
>  - Rafael 
> _______________________________________________
> 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