Click here to Skip to main content
Click here to Skip to main content

Getting XNA 2.0 to work with Visual Studio 2008

, 9 Mar 2008
Rate this:
Please Sign up or sign in to vote.
How to get XNA 2.0 working with Visual Studio 2008 without installing anything other than XNA 2.0.

Introduction

Last week, I wanted to start using the XNA framework in my C# applications, but found out it doesn't work with Visual Studio 2008. Here is how to solve that problem without installing anything other than XNA 2.0:

  1. Download XNA Game Studio 2.0.
  2. Extract the contents of this file using an archive software of your choice.
  3. From the extracted files, first install redists.msi and then xnags_shared.msi.
  4. Create a new Visual Studio project such as a Windows Forms Application, Class Library, etc.
  5. Add a reference to the XNA framework you want to use in your project.
  6. Go to project properties, and set the target platform to x84, since as of now, XNA isn't supported on 64 bit platforms.

Enjoy!

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

LightTD
EA BioWare
Canada Canada

Comments and Discussions

 
GeneralHelp with importers Pinmemberquintas_arias18-Sep-08 15:39 
GeneralExcellent Pinmemberquintas_arias17-Sep-08 12:51 
Does just what it says it can. Thank you. I have vs2008 and wanted to use it with XNA. I could not believe that I could not. Your solution was perfect. Did just what it said it would. Can't say that for most of the so called tutorials on here. Thanks again.
GeneralRe: Excellent PinmemberLightTD17-Sep-08 13:09 
GeneralXNA vs Managed DirectX Pinmemberanhldbk20-Aug-08 15:02 
GeneralRe: XNA vs Managed DirectX PinmemberLightTD20-Aug-08 16:19 
GeneralRe: XNA vs Managed DirectX Pinmemberanhldbk20-Aug-08 16:48 
NewsXNA 3.0 PinmemberAmrykid3-Jun-08 11:52 
GeneralRe: XNA 3.0 PinmemberLightTD3-Jun-08 15:32 
GeneralRe: XNA 3.0 PinmemberMarkBrock7-Jun-08 18:52 
GeneralRe: XNA 3.0 PinmemberThe Dogcow Farmer8-Jul-08 7:25 
GeneralI get errors PinmemberPer Grill24-Mar-08 0:35 
GeneralPoor title choice! PinmemberInitri9-Mar-08 8:56 
GeneralRe: Poor title choice! PinmemberLightTD9-Mar-08 10:25 
GeneralRe: Poor title choice! PinmemberInitri9-Mar-08 12:39 
QuestionShow-Off? PinmemberRi Qen-Sin9-Mar-08 2:48 
AnswerRe: Show-Off? PinmemberLightTD9-Mar-08 3:09 
AnswerRe: Show-Off? PinmemberMember 468794217-May-08 20:57 
JokeRE PinmemberWadie8-Mar-08 4:30 
GeneralRe: RE PinmemberLightTD8-Mar-08 15:56 
GeneralRe: RE PinmemberPedro Güida9-Mar-08 11:46 
GeneralRe: RE PinmemberLightTD9-Mar-08 23:52 
GeneralRe: RE [modified] PinmemberPedro Güida10-Mar-08 4:16 
GeneralRe: RE PinmemberLightTD10-Mar-08 5:12 
GeneralRe: RE PinmemberPedro Güida10-Mar-08 6:40 
GeneralRe: RE PinmemberLightTD10-Mar-08 7:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web02 | 2.8.140709.1 | Last Updated 9 Mar 2008
Article Copyright 2008 by LightTD
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid