Fail to add a sprite to XNA content project

06Aug12

This is not a big one but it’s good to know.

I was spiking a little thing in a new XNA 4.0 game project and then attempting to include a png into the content folder, the file was there, I could see it (using show all files menu) but when using the context menu “Include in project” nothing was happening. Why?

Capture

First I thought maybe the file type is not supported, but PNGs are. Then someone pointed out, is this a project on a Reach Profile? textures larger than 2048 are not supported, this was a large sprite-sheet. So, I changed the profile of the project and I was able to Include the file. Smile

Happy Monday

Advertisements


No Responses Yet to “Fail to add a sprite to XNA content project”

  1. Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: