-
-
Notifications
You must be signed in to change notification settings - Fork 295
Building from source
Natsumi edited this page Dec 7, 2025
·
22 revisions
-
Get source code
- Download latest source code zip or clone repo with
git clone "https://github.com/vrcx-team/VRCX.git"
- Download latest source code zip or clone repo with
-
Build Node.js
- Download and install "Windows Installer (.msi)" for Node.js LTS.
- Browse to
build-scripts\nodefolder and run these files in this order.- Restore node modules (only necessity for first build)
restore-node-dependencies.cmd - Choose your build type (needs to match up with dotnet) Release/Debug:
build-node-release.cmd/build-node-debug.cmd - In
build-scriptsopenmake-junction.cmd
- Restore node modules (only necessity for first build)
- These scripts will set up the Node.js environment and create necessary symbolic links for the build process.
-
Build .NET
- Install .NET 10.0 SDK x64
- Install Microsoft Visual C++ 2022
- Install Visual Studio or Rider if they aren't already installed.
- In Visual Studio/Rider "Open Project/Solution" and browse to the Solution file (.sln) provided inside the downloaded source code.
- Set Configuration to Release/Debug (needs to match up with node.js), Platform to "x64" and Project to "VRCX-Cef".
- Restore NuGet packages.
- VS: Right click "Solution" in Solution Explorer -> Restore NuGet Packages
- Rider: Tools -> NuGet -> NuGet Restore
- Start/Run Project.
-
Run build outside of IDE
.\build\Cef\VRCX.exe- Release: Build script changes with
npm run prodthen reload withCtrl + R - Debug: First run
npm run prodto copy needed files then runnpm run devfor hot-reload.
-
Overlay debug
- in Chrome visit
chrome://inspect - Configure network targets, add
localhost:8089
- in Chrome visit
-
Create release zip
-
Create release setup
- Run
build-scripts\build-all.ps1this will also runs all the steps above for you.
- Run
-
Packages needed for running AppImage, will vary depending on distro, if you can already run the AppImage you don't need to install these
- zlib1g, fuse, fuse2, libfuse2
-
Get source code
- Download latest source code zip or clone repo with
git clone "https://github.com/vrcx-team/VRCX.git"
- Download latest source code zip or clone repo with
-
Build .NET
- Install Dotnet 9.0 SDK
- arch
sudo pacman -S dotnet-sdk-9.0 - ubuntu
sudo apt install dotnet-sdk-9.0 - other Install .NET on Linux
- arch
- Build Dotnet
- GUI: Open solution file (.sln) with Rider, restore NuGet packages and build project "VRCX-Electron".
- CLI (x64):
dotnet build 'Dotnet/VRCX-Electron.csproj' -p:Configuration=Release -p:WarningLevel=0 -p:Platform=x64 -p:PlatformTarget=x64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m -a x64 - CLI (arm64):
dotnet build 'Dotnet/VRCX-Electron-arm64.csproj' -p:Configuration=Release -p:WarningLevel=0 -p:Platform=arm64 -p:PlatformTarget=arm64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m -a arm64
- Install Dotnet 9.0 SDK
-
Build Node.js
- Install nodejs and npm
- arch
sudo pacman -S nodejs npm - ubuntu
sudo apt install nodejs npm - other Installing Node.js via Package Managers
- arch
- Restore node modules, only necessity for first build
npm ci - Build main app
npm run prod-linuxornpm run watch-linuxfor auto build - Build electron, only necessity for first build.
- x64
npm run build-electron - arm64
npm run build-electron-arm64
- x64
- Launch app
npm run start-electron
- Install nodejs and npm
- Install brew
brew install --cask dotnet-sdkbrew install node gitgit clone "https://github.com/vrcx-team/VRCX.git"cd VRCXnpm cinpm run prod-linux- arm64
dotnet build 'Dotnet/VRCX-Electron-arm64.csproj' -p:Configuration=Release -p:WarningLevel=0 -p:Platform=arm64 -p:PlatformTarget=arm64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m -a arm64npm run build-electron-arm64
- x64
dotnet build 'Dotnet/VRCX-Electron.csproj' -p:Configuration=Release -p:WarningLevel=0 -p:Platform=x64 -p:PlatformTarget=x64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m -a x64npm run build-electron
-
npm run start-electronor open ./VRCX/build folder for .app and .dmg files - Optionally sign the app bundle
codesign --sign - --deep build/mac/VRCX.app/