XNA Essentials

Game Programming for Xbox 360, PC + Windows Phone

NAVIGATION - SEARCH

CHPT 29 Help

Hi, just got the book so i could work on my online programing. I've got all the code my problem is when i try upgrading the code to 3.1 from chapter 29 i get error saying 3.0.0.0 assemble not available for 3.1.0.0. (something along those lines) I was wondering if somebody could help me upgrade the chapter 29 code to 3.1. I wish the books author would rewrite the code for 3.1.


Anyway great book, and thanks to any help...

crazzzy stoner - Wednesday, February 3, 2010 @ 10:25 PM

Re: CHPT 29 Help

Glad you are enjoying the book.  Most chapters convert to 3.1 without incident, however the Chapters that require either the sound project (from Chapter 7) or the SkyboxPipeline (from Chapter 8) need a little more work.


For sound, folks should look here:


http://xnaessentials.com/forums/t/56.aspx


For this issue (with the SkyboxPipeline) here are the steps to get everything working for 3.1.


1. Open Chapter 8's SkyboxPipeline solution.


2. Remove the references to the following 3.0 assemblies:


   Microsoft.Xna.Framework


   Microsoft.Xna.Framework.Content.Pipeline


   Microsoft.Xna.Framework.Game


3. Now, re-add those same assemblies, but make sure you select the 3.1 versions.


4. Compile the solution.


At this point Chapter 8 has the updated code and the compiled assembly should be used instead of the one already in the main folder of the chapter (Chapter 29 in this case).


Once the SkyboxPipeline.dll file has been replaced with the newly created one from Chapter 8's bin folder you can upgrade the project like normal.


Hope this helps, if not please let me know.


Thanks!


Chad

Chad Carter - Thursday, February 4, 2010 @ 8:19 AM