Doctors Notes > Content Problems

First case ever. Your problem was that you have made your own Content folder in the Visual Studio project and then put content into it. This confusion is probably because the way that the content is arranged has changed from Version 1.0 of XNA to Version 2.0.

If you add content to the folder that XNA creates for you (the one with the coloured icon) then you should be OK for you.

The doctor has made a working project and also fixed your sprite so that the edges are transparent rather than a colour you would have to flag as transparent.

You can find the project in the recovery room.

August 22, 2008 | Registered CommenterRob

Thanks Rob, now the real test will be consistency. It may of worked perfectly on your computer, but I tend to be unlucky, so there's a chance that it might not work.

I'll check it out. Thanks Rob !

August 23, 2008 | Unregistered CommenterJDog

Thanks Rob. All in all, I was quite close, so what I must do in future is, when adding Content into the Content Pipeline, I must;

Right Click on the content section in the side-bar > Add Exsisting Item > Add Image > Done. That clears that up, infact I should never forget the code that i'd just written combined with that help.

Also, I ordered your book Yesterday so it should be arriving very shortly, that is, if there's only One Rob S Miles that has written a book on C# programming with XNA 2.0.

August 23, 2008 | Unregistered CommenterJDog

So, if i'm using c# 2008 and XNA 3.0 with the book, i'm assuming that the sample code want always work.

Is there some re-written / updated code and if so where from??

(error message reads: the project is not supported by this installation)

February 2, 2009 | Unregistered CommenterjHouse