Minimal Xbox 360 application I use as a test playground.
While doing Xbox 360 development (especially on Hayzen), the workflow is a little bit tedious. I have to compile the code, deploy it to the console, unload then reload the module, and restart the game I'm currently working on. Having a standalone playground test allows me to quickly iterate, I can just launch the build and the binary will be deployed to the console and launched automatically. Not having to rely on a separate game also allows me launch the playground in an emulator (Xenia), so I don't even need to have my console with me!
- Having the Xbox 360 Software Development Kit (XDK) installed.
Open XboxPlayground.sln
in Visual Studio.
Note: Using Visual Studio 2010 is the only way to run XboxPlayground in a debugger (sadly).
You can't build with the 64-bit version of MSBuild so you'll need to run the 32-bit version manually. Open PowerShell (which can be done in View > Terminal
in Visual Studio) and run the following command:
# Create an alias to the 32-bit version of MSBuild named msbuild
# The default installation path of VS2022 is C:\Program Files\Microsoft Visual Studio\2022\Community
Set-Alias msbuild "<path_vs2022>\MSBuild\Current\Bin\MSBuild.exe"
To debug XboxPlayground, you need to build and run the debugger from Visual Studio 2010.
To build XboxPlayground in release mode, deploy it to the console and launch it there, start a release build, either through the Visual Studio interface or with the following command:
msbuild /p:Configuration=Release
To build XboxPlayground and run it in Xenia, start a build with the Xenia
configuration, either through the Visual Studio interface or with the following command (Xenia will be downloaded automatically the first time you run the command):
msbuild /p:Configuration=Xenia