- Visit the Visual Studio Downloads page.
- Under "Community 2022", click the
Free download
button. - Once the installer is downloaded, open it to start the installation process.
- In the Visual Studio Installer, select Visual Studio Community 2022 and click
Install
.
-
When the installer prompts you to select the workloads, check the Windows application development workload:
- This includes the Windows 11 SDK, and Windows app runtime.
-
(Optional) You can also select other workloads depending on your needs, such as:
.NET Desktop Development
for WPF/WinForms applications.Desktop development with C++
if you plan to work with C++ UWP applications.
-
Under the Individual Components tab (if needed), ensure the following are checked:
- C++ (v143) Universal Windows Platform tools
- Universal Windows Platform Tools
-
Click
Install
to begin the installation process.
You should now have Visual Studio 2022 set up for UWP development!
- Install Git if you haven't already from Git Downloads.
- Open a Command Prompt or Terminal.
- Clone the
XBSX2
repository by running the following command:git clone https://github.com/EmulationCollective/XBSX2.git --recurse-submodules
-
Download the dependencies from the latest PCSX2 Windows dependencies release:
PCSX2 Windows Dependencies. -
Extract the downloaded archive.
-
Move the
deps
folder from the extracted archive to the root of theXBSX2
repository -
Download
patches.zip
from PCSX2s GitHub; we'll need it later.
- Navigate to the root folder of the
XBSX2
repository. - Open the
PCSX2_qt.sln
file in Visual Studio 2022.
- In the Solution Explorer window, locate the
XBSX2
project. - Right-click on the
XBSX2
project and select Set as Startup Project.
- At the top of Visual Studio, find the build configuration dropdown, which might be set to
Debug
by default. - Change the configuration from
Debug
toRelease
to optimize the build for performance. - When you try to build, you will encounter an error such as:
Payload file C:\Users\Stern\Documents\XBSX2\pcsx2-winrt\resources\patches.zip’ does not exist.
To fix this:
- Locate the
patches.zip
file that you downloaded earlier. - Move it to the following directory inside your cloned repository:
XBSX2\pcsx2-winrt\Resources
. - After placing the file, try building the project again.
- Right-click the XBSX2 project in the Solution Explorer.
- Select Properties from the context menu.
- In the Properties window, go to the Debugging section.
- Change the Target Device dropdown from
Local Machine
toRemote Machine
. - In the Machine Name field, enter your Xbox’s IP address (found in the Dev Home app under
Network
). Example:192.168.1.1
.
- Right-click the solution in the Solution Explorer and select
Build Solution
or pressCtrl+Shift+B
. - Visual Studio will begin building the project in
Release
mode for deployment to the Xbox.
- After building, Visual Studio will ask for a PIN. Enter the Visual Studio PIN from the Dev Home app on your Xbox (found in the Remote Access section).
- Once the deployment is complete, the application should automatically launch on your Xbox in Developer Mode.
The XBSX2 project is now deployed to your Xbox! If any issues arise during deployment, check this repository’s Issues page on GitHub for troubleshooting tips or reach out to the community for support.