Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

XNA & Beyond: The Path to VS 2008

, 4 Jan 2010
The article shows how to embed a XNA-based game into a WinForms control with ease. Also, it explains how to integrate an XNA GS project into VS2008 (this IDE is not currently supported by XNA GS), and in turn, to be able to use WPF with your XNA-based creation.
xnaandbeyond_src.zip
XnaAndBeyond_src
XNA GS and VS2008
Compilation
SharedXnaGameLibrary
Content
bin
x86
Debug
Release
Content.contentproj
MyFont.spritefont
obj
x86
Debug
Refactor
ResolveAssemblyReference.cache
TempPE
Release
Refactor
TempPE
Properties
SharedGameLibrary.csproj.user
XnaGameInControlSample.suo
XnaGameInWinForm
Game.ico
Properties
Settings.settings
XnaGameInWinForm.csproj.user
XnaGameInWinWpfWindow
Game.ico
Properties
Settings.settings
XnaGameInWinWpfWindow.csproj.user
XNA GS and WinForms (VS2005)
WindowsGame1
Content
bin
x86
Debug
Release
Content.contentproj
MyFont.spritefont
obj
x86
Debug
ResolveAssemblyReference.cache
TempPE
Release
TempPE
Game.ico
GameThumbnail.png
Properties
WindowsGame1.csproj.user
xnaandbeyond_src.zip.zip
XNA GS and VS2008
WindowsGame1.suo
WindowsGame1
bin
Debug
x86
Debug
Content
MyFont.xnb
WindowsGame1.exe
WindowsGame1.pdb
WindowsGame1.vshost.exe
WindowsGame1.vshost.exe.manifest
WindowsGame1_WPF.exe
WindowsGame1_WPF.pdb
WindowsGame1_WPF.vshost.exe
WindowsGameLibrary1.dll
WindowsGameLibrary1.pdb
Release
WindowsGame1.vshost.exe
WindowsGame1.vshost.exe.manifest
WindowsGame1_WPF.vshost.exe
WindowsGame1_WPF.vshost.exe.manifest
Game.ico
obj
Debug
TempPE
x86
Debug
ResolveAssemblyReference.cache
TempPE
WindowsGame1.csproj.GenerateResource.Cache
WindowsGame1.exe
WindowsGame1.Form1.resources
WindowsGame1.pdb
WindowsGame1.Properties.Resources.resources
Release
TempPE
Properties
Settings.settings
WindowsGame1.csproj.user
WindowsGame1_WPF
Game.ico
obj
x86
Debug
ResolveAssemblyReference.cache
TempPE
Properties.Resources.Designer.cs.dll
Window1.baml
WindowsGame1_WPF.csproj.GenerateResource.Cache
WindowsGame1_WPF.exe
WindowsGame1_WPF.g.resources
WindowsGame1_WPF.Properties.Resources.resources
WindowsGame1_WPF_MarkupCompile.cache
Properties
Settings.settings
WindowsGameLibrary1.suo
WindowsGameLibrary1
Content
bin
x86
Debug
Release
Content.contentproj
MyFont.spritefont
obj
x86
Debug
TempPE
Release
TempPE
obj
x86
Debug
TempPE
WindowsGameLibrary1.dll
WindowsGameLibrary1.pdb
Release
TempPE
WindowsGameLibrary1.dll
WindowsGameLibrary1.pdb
Properties
WpfApplication1
bin
Debug
WpfApplication1.vshost.exe
WpfApplication1.vshost.exe.manifest
obj
Debug
TempPE
Properties
Settings.settings
XNA GS and WinForms (VS2005)
WindowsGame1.suo
WindowsGame1
bin
x86
Debug
Content
MyFont.xnb
WindowsGame1.exe
WindowsGame1.pdb
Release
Content
bin
x86
Debug
Release
Content.contentproj
MyFont.spritefont
obj
x86
Debug
ResolveAssemblyReference.cache
TempPE
Release
TempPE
Game.ico
GameThumbnail.png
obj
x86
Debug
Refactor
ResolveAssemblyReference.cache
TempPE
WindowsGame1.csproj.GenerateResource.Cache
WindowsGame1.exe
WindowsGame1.Form1.resources
WindowsGame1.pdb
Release
TempPE
Properties
WindowsGame1.csproj.user
xnaonawebsite_src.zip
XnaOnAWebSite_src
Extras
WindowsGameLibrary1
Content
bin
x86
Debug
Release
Content.contentproj
MyFont.spritefont
obj
x86
Debug
TempPE
Properties
WindowsGameLibrary1.csproj.user
XnaGameControl
Properties
XnaGame.csproj.user
XnaGameKeyFile.snk
XnaOnWebSite
App_Data
Content
MyFont.xnb
Properties
WindowsGameLibrary1.dll
WindowsGameLibrary1.pdb
XnaOnWebSite.csproj.user
C:\Users\Pedro Daniel\Documents\Visual Studio 2005\Projects\WindowsGame1\WindowsGame1\bin\x86\Debug\Content\MyFont.xnb
C:\Users\Pedro Daniel\Documents\Visual Studio 2005\Projects\WindowsGame1\WindowsGame1\bin\x86\Debug\WindowsGame1.exe
C:\Users\Pedro Daniel\Documents\Visual Studio 2005\Projects\WindowsGame1\WindowsGame1\bin\x86\Debug\WindowsGame1.pdb
C:\Users\Pedro Daniel\Documents\Visual Studio 2005\Projects\WindowsGame1\WindowsGame1\obj\x86\Debug\ResolveAssemblyReference.cache
C:\Users\Pedro Daniel\Documents\Visual Studio 2005\Projects\WindowsGame1\WindowsGame1\obj\x86\Debug\Microsoft.Xna.Framework.RuntimeProfile.txt
C:\Users\Pedro Daniel\Documents\Visual Studio 2005\Projects\WindowsGame1\WindowsGame1\obj\x86\Debug\WindowsGame1.obj.x86.Debug.Microsoft.Xna.Framework.RuntimeProfile.txt
C:\Users\Pedro Daniel\Documents\Visual Studio 2005\Projects\WindowsGame1\WindowsGame1\obj\x86\Debug\WindowsGame1.Form1.resources
C:\Users\Pedro Daniel\Documents\Visual Studio 2005\Projects\WindowsGame1\WindowsGame1\obj\x86\Debug\WindowsGame1.csproj.GenerateResource.Cache
C:\Users\Pedro Daniel\Documents\Visual Studio 2005\Projects\WindowsGame1\WindowsGame1\obj\x86\Debug\WindowsGame1.exe
C:\Users\Pedro Daniel\Documents\Visual Studio 2005\Projects\WindowsGame1\WindowsGame1\obj\x86\Debug\WindowsGame1.pdb

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

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

About the Author

Pedro Güida
Software Developer (Senior) Free-lance Developer
Uruguay Uruguay

| Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 4 Jan 2010
Article Copyright 2007 by Pedro Güida
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid