Jacob Rhoden wrote:
> I have been searching all over the mono site on how to do this, right
> down to reading a Slide show on how the compiler works.. cant find it,
> so I wonder if anyone can point me anywhere for examples on how to build
> System.Windows.Forms applications (So i can run on windows .net as well
> as linux).
>
> My speciffic example is i have my SystemTrayApp.cs and it reads an
> icon.ico file. I would like to build both files (or even more than that)
> into a single exe file. How do I do this. Any help appreciated. (So I
> guess kind of like making a java jar file)
1. Embed the files with mcs's -resource option (see mcs's man page)
2. Access the resources with Assembly.GetManifestResourceStream
(see MSDN)
Robert
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list