XexUtils is a library to make Xbox 360 applications and/or libraries.
- Download the latest binary and header files from the releases.
- Add
\path\to\XexUtils\lib
toConfiguration Properties > Linker > General > Additional Libary Directories
. - Add
XexUtils.lib
(orXexUtilsd.lib
for the debug version) toConfiguration Properties > Linker > Input > Additional Dependencies
. - Add
\path\to\XexUtils\include
toConfiguration Properties > C/C++ > General > Additional Include Directories
.
- Add XexUtils as a project in Visual Studio:
Right click on the solution name in the solution explorer then
Add > Existing Project...
and selectXexUtils.vcxproj
in\path\to\XexUtils
. - Add it as a reference to your main project:
Right click on your main project in the solution explorer then
Add > Reference...
, tickXexUtils
and click OK.
The tests are an app that runs on the console and is deployed in the hdd:\XexUtils\Tests
directory.
Open test\Tests.sln
in Visual Studio.
Note: Using Visual Studio 2010 is the only way to run the test app 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"
Now run msbuild
to compile the test app and deploy it to your console.