Skip to content
Ádám L. Juhász edited this page Aug 7, 2020 · 1 revision

Compile

To compile the source code yourself, you're going to need to have the followings:

Preparation

  1. Install Visual Studio and WiX Toolset. Follow their installation instructions.
  2. Download VSWhere and copy the vswhere.exe to a directory within the PATH environment variable.
  3. Open Notepad, and copy the following lines in to it:
@echo off

for /f "tokens=1 delims=." %%i in ("%~1") do (
    set major=%%i
)

set /a major=major+1

for /f "usebackq tokens=*" %%i in (`vswhere.exe -version "[%~1,%major%.0)" -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -find **\vsdevcmd.bat`) do (
    set VSD=%%i
)

shift /1

if exist "%VSD%" (
    "%VSD%" %1 %2 %3 %4 %5 %6 %7 %8 %9
)
else
(
    exit /b %errorlevel%
)
  1. Save the file as VsDev.cmd in a folder listed in the PATH environment variable.
  2. Download and unpack the Enhancer.NET library packages and copy the Enhancer.SemVer.dll to the References folder of the repository root.

At this point you now can compile the project.

This page was introduced so the batch file in the 3rd step does not get lost when the commit referring to it when it gets pushed.

Clone this wiki locally