-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Ádám L. Juhász edited this page Aug 7, 2020
·
1 revision
To compile the source code yourself, you're going to need to have the followings:
- Visual Studio 2019 or newer
- WiX Toolset
- VSWhere
- A release of Enhancer.SemVer.dll from Enhancer.NET
- Install Visual Studio and WiX Toolset. Follow their installation instructions.
- Download VSWhere and copy the
vswhere.exe
to a directory within the PATH environment variable. - 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%
)
- Save the file as
VsDev.cmd
in a folder listed in the PATH environment variable. - 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.