Hello,
I am just starting to develop an application in C# using Mono and MonoDevelop. 
The application has some data files. They are images in SVG format. I've 
already handled the opening and rendering of them[1], but so far I am using 
absolute paths: /home/pupeno/myproject/images/img.svg.
Of course that's bad and I want to improve that, but, what should I do? Should 
I put my images as resources somehow? Should I build an absolute path with 
the help of some class? I don't even know where these images would end up 
being installed?
Well, I hope that by now you see how lost I am in solving this problem. In 
C++/KDE I just made a Makefile to put my files in $prefix/share/myapp/ and 
then there where a class that would know about the correct $prefix and give 
me the right path to get the file.
Any hints are appreciated!
Thank you.
-- 
José Pablo Fernández <[EMAIL PROTECTED]> (http://pupeno.com)

[1] I'll publish how in my blog soon: http://pupeno.com.

Attachment: pgprxvTOLkOO4.pgp
Description: PGP signature

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to