Click here to Skip to main content
Licence CPOL
First Posted 7 Mar 2008
Views 68,162
Bookmarked 16 times

Getting XNA 2.0 to work with Visual Studio 2008

By | 9 Mar 2008 | Article
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

Member


Website / Bio


Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralHelp with importers Pinmemberquintas_arias15:39 18 Sep '08  
GeneralExcellent Pinmemberquintas_arias12:51 17 Sep '08  
GeneralRe: Excellent PinmemberLightTD13:09 17 Sep '08  
GeneralXNA vs Managed DirectX Pinmemberanhldbk15:02 20 Aug '08  
GeneralRe: XNA vs Managed DirectX PinmemberLightTD16:19 20 Aug '08  
GeneralRe: XNA vs Managed DirectX Pinmemberanhldbk16:48 20 Aug '08  
NewsXNA 3.0 PinmemberAmrykid11:52 3 Jun '08  
GeneralRe: XNA 3.0 PinmemberLightTD15:32 3 Jun '08  
GeneralRe: XNA 3.0 PinmemberMarkBrock18:52 7 Jun '08  
GeneralRe: XNA 3.0 PinmemberThe Dogcow Farmer7:25 8 Jul '08  
GeneralI get errors PinmemberPer Grill0:35 24 Mar '08  
GeneralPoor title choice! PinmemberInitri8:56 9 Mar '08  
GeneralRe: Poor title choice! PinmemberLightTD10:25 9 Mar '08  
GeneralRe: Poor title choice! PinmemberInitri12:39 9 Mar '08  
QuestionShow-Off? PinmemberRi Qen-Sin2:48 9 Mar '08  
AnswerRe: Show-Off? PinmemberLightTD3:09 9 Mar '08  
AnswerRe: Show-Off? PinmemberMember 468794220:57 17 May '08  
JokeRE PinmemberWadie4:30 8 Mar '08  
GeneralRe: RE PinmemberLightTD15:56 8 Mar '08  
GeneralRe: RE PinmemberPedro Güida11:46 9 Mar '08  
GeneralRe: RE PinmemberLightTD23:52 9 Mar '08  
GeneralRe: RE [modified] PinmemberPedro Güida4:16 10 Mar '08  
GeneralRe: RE PinmemberLightTD5:12 10 Mar '08  
GeneralRe: RE PinmemberPedro Güida6:40 10 Mar '08  
GeneralRe: RE PinmemberLightTD7:57 10 Mar '08  

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.

Permalink | Advertise | Privacy | Mobile
Web01 | 2.5.120517.1 | Last Updated 9 Mar 2008
Article Copyright 2008 by LightTD
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid