p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional XNA Game Programming: For Xbox 360 and Windows ISBN: 978-0-470-12677-6 (http://p2p.wrox.com/forumdisplay.php?f=325)
-   -   XNA doesn't detect .jpg file? (http://p2p.wrox.com/showthread.php?t=70318)

jpbaugh August 28th, 2008 10:28 PM

XNA doesn't detect .jpg file?
 
I installed the XNA game studio (2.0) for Visual Studio 2005. I am simply trying to get it to load the CityGroundSmall.jpg and recognize it so I see the Properties that the author describes in the book. He makes brief mention "Normally, you would just see the build action and some options for copying the content file to the output directory ..." ... "But if XNA Studio detects one of the supported content file formats, you will see the advanced XNA properties..."

Guess what? I don't see the advanced XNA properties... lol.

He makes no mention of what could be causing it if you DONT see these properties.

Any ideas?

JPB, Software Engineer

KyleHatch September 9th, 2008 09:15 AM

don't just add it to the project in solution manager, you need to drag it in the "content" menu of the project in solution manager.

Then you should be set, i was thinking it was perhaps a small error on the authors part but i've come to the conclusion it's the difference between XNA 1.0 and 2.0. Me and you are 2.0.

Now to make the pong menu work :)



All times are GMT -4. The time now is 07:15 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.