Prerequsites:
OS:
Windows 10x64, build 19041.450 or later
Node.js:
Install Node.js 12.x using https://nodejs.org/dist/v12.18.3/node-v12.18.3-x64.msi, no additional tools or any customization is neccessary
7-zip:
Install 7-Zip using https://www.7-zip.org/a/7z1900-x64.exe
.NET build environment:
Download VS build tools from https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=BuildTools&rel=16
Install it, using following command line:
vs_BuildTools --add Microsoft.VisualStudio.Workload.MSBuildTools --add Microsoft.Net.Component.4.6.2.TargetingPack --add Microsoft.NetCore.Component.SDK --add Microsoft.Net.Component.4.8.SDK
NuGet package client:
Download nuget.exe from https://dist.nuget.org/win-x86-commandline/v5.7.0/nuget.exe and place it somewhere along the path (c:\windows comes at mind) or place nuget.exe in root source folder
Build
Extract source files to some folder (we will call it ‘root source folder’, is should contain ‘quark.build.xml’ file, ‘src’ directory and few other files)
Start Developer Command Prompt for VS 2019 from start menu. It should open console window with few neccessary environment variables already set. Change directory to root source folder.
Install yarn node package manager with
npm install -g yarn
Place downloaded nuget.exe in root source folder, if not already somewhere on the PATH environment variable. Install nuget packages using
nuget.exe restore .\src\Quark-R2.sln
It should take some time.
Start build process using following command:
MSBuild.exe ./quark.build.xml /t:Build;Dist /p:Configuration=Debug;AllowedReferenceRelatedFileExtensions=none
Wait…For…It…
If everything goes as it was planned, goodies should be in dist folder.