Skip to main content

Overview

Building Ryujinx from source is intended for developers who want to contribute code. If you just want to use the emulator, download pre-built releases instead.
This guide is for contributors only. Regular users should download official builds from the releases page.

Prerequisites

Install .NET SDK

1

Download .NET 10.0 SDK

2

Verify SDK version

Your SDK version must meet or exceed the version specified in global.json:
global.json
3

Confirm installation

Should output version 10.0.100 or higher

Get the Source Code

Choose one of these methods:

Building the Project

Quick Build

From the project root directory:
Built files will be created in the build/ directory.

Build Configuration Options

Platform Access on Windows

On Windows, you can quickly open a command prompt in File Explorer:
  1. Hold Shift and right-click in the folder
  2. Select “Open command window here” or “Open PowerShell window here”

Publishing Ryujinx

For a self-contained executable:
Self-contained builds include the .NET runtime, making them larger but not requiring .NET SDK installation on the target system.

CI Build Commands

The GitHub Actions CI uses these commands (from .github/workflows/build.yml:54):
Build
Test
Publish

System Files Location

After building, Ryujinx stores its system files in the user folder:
Access via: File → Open Ryujinx Folder in the GUI
or

Supported Platforms

Ryujinx builds for multiple platforms (from .github/workflows/build.yml:21-25):

Troubleshooting

Error: The current .NET SDK does not support targeting .NET 10.0Solution: Install .NET 10.0 SDK or higher. Verify with:
Solution: Clean and rebuild:
Solution: Restore NuGet packages:
Linux: Install required dependencies:
macOS: Install Xcode Command Line Tools:

Build Performance Tips

Use parallel builds for faster compilation:
Replace 8 with your CPU core count.
Incremental builds are faster - only rebuild changed files:

IDE Setup

Visual Studio (Windows)

1

Install Visual Studio 2022

Download Visual Studio 2022 or later
2

Install .NET workload

Select the .NET desktop development workload during installation
3

Open solution

Open Ryujinx.sln in Visual Studio
4

Build

Press F6 or select Build → Build Solution

Visual Studio Code (Cross-platform)

1

Install VS Code

2

Install C# extension

Install the C# Dev Kit extension
3

Open folder

Open the Ryujinx repository folder
4

Build from terminal

Use the integrated terminal:

Rider (Cross-platform)

1

Install JetBrains Rider

2

Open solution

Open Ryujinx.sln
3

Build

Press Ctrl+Shift+F9 or select Build → Build Solution

Next Steps

Coding Style

Learn Ryujinx’s C# conventions

Debugging

Set up debugging tools

Testing

Run and write tests