[MonoDevelop] How to Embed a Configuration File in an Assembly?

Jacek Ruzyczka ruzyczka at versanet.de
Sun Aug 19 11:34:43 EDT 2007


Hi,

Am Samstag, 11. August 2007 17:19 schrieb Marcos Marín:
> By Ben Motmans:
> "monodevelop does not generate any code to access resources more easily, so
> you will have to do it the default .NET way, by calling
> someAssembly.GetManifestResourceStream
>
> an example:
> http://www.devhood.com/tutorials/tutorial_details.aspx?tutorial_id=75"
>
small problem: Where can I find the Assembly class used in this example? And: 
I also need all this to play a sound, whose WAV (or MP3) file is embedded in 
my assembly. Is there any convenience method in Mono to get this job done 
(the example in 
http://www.mono-project.com/Guide:_Porting_Winforms_Applications looks hard 
to use to me...)?

Regards
Jacek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20070819/17fdcc96/attachment.bin 


More information about the Monodevelop-list mailing list