Hey everyone, small problem here.
I've managed to get XNA to run inside of a Panel in my windows form, but my problem is that I can't figure out how to load textures to sprites, since my form does not extend Game.
And even when I make a game class, it still says that it can't find my image file, even though I am quite sure it is there.
When I look at the debugging process further, I find that it is looking for a file called
(imagename).xnb
What is this file And why is it not being created like it should be Any help would be greatly appreciated.
This is the line in trouble (pixel, obviously, is the name of my image):
SpriteTexture = content.Load<Texture2D>("pixel");

Content - XNA + SpriteBatch in a windows form
tovarish
However, I am simply curious as to how to do it, even just as a learning experience.
Bill Reiss
But just in case, is there anyone who can explain how to integrate an XNA content pipeline into a windows app for me
arkiboys
Milzit
Zhila
CliffW269333
You won't get any of the VS UI around setting up content unless your project uses the XNA project flavor, though, so you need to start with an XNA project type to enable that.
Seiggy
So how can I set up the whole XNA content pipeline deal for a windows app