I'm puzzled.
the msdn documentation looks fairly simple and the demo works well.
But when I try it with my own file, I get an error that the resource wasn't found.
The demo uses an .xnb file located in the "Content" directory.
For my own game I also have a .png image located in the Content folder (in both cases the content's root directory is that exact folder), but regardless if I simply pass a string of the file name (with or without extension) or the absolute path of the file, I always get the same error:
Error Message:
Error loading "testing.png". File not found.
Can I only load .xnb files?
If so, how can I easily convert png/bmp images to that format?
If not, what went wrong and how can I display that image?
Thanks.