[MonoDevelop] Embedded Resources

mitcheloc mitcheloc at gmail.com
Tue Aug 7 21:54:34 EDT 2007


Hello All,

First, thanks for monodevelop. It's a great tool! :)

I've added an image and a sql script as a resource to a monodevelop C#
project. I can't seem to figure out how to reference it from inside my
code.

In Visual Studio 2005 I was referencing the files in my code by using:

string script = Glue.Properties.Resources.Script1;
PictureBox1.Image = Glue.Properties.Resources.Skin;

Thanks in advance,
Mitchel


More information about the Monodevelop-list mailing list