-
-
Notifications
You must be signed in to change notification settings - Fork 206
Building from source
Natsumi edited this page Jan 31, 2025
·
6 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 .NET
- Install .NET 9.0 SDK x64
- Install Microsoft Visual C++ 2019
- Install Visual Studio or Rider if they aren't already installed.
- In Visual Studio "Open Project/Solution" and browse to the Solution file provided inside the downloaded source code.
- Set Configuration to
Release
and Platform tox64
- Restore NuGet packages.
- Build Solution.
-
Build Node.js
- Download and install Node.js.
- Run
build-node.js.cmd
. - Run
make-junction.cmd
.
-
Create release zip
-
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 8.0 SDK
- arch
sudo pacman -S dotnet-sdk-8.0
- ubuntu
sudo apt install dotnet-sdk-8.0
- other Install .NET on Linux
- arch
- Build with GUI or CLI
- Open .sln file with Rider, restore nuget packages and build VRCX-Electron.
- Run
dotnet build 'Dotnet/VRCX-Electron.csproj' -p:Configuration=Release -p:Platform=x64 -p:RestorePackagesConfig=true -t:"Restore;Clean;Build" -m --self-contained
- Install Dotnet 8.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-linux
ornpm run watch-linux
- Build electron, only necessity for first build
npm run build-electron
- Launch app
npm run start-electron
- Install nodejs and npm