The following are required to build qXL
:
- Microsoft .NET Framework 4
- WiX Toolset v3.8
AssemblyInfo
task from MSBuild Community Tasks
The qXL
solution is compatible with Visual Studio 2010.
Note:
Visual Studio Express does not support extensions thus the
ExcelAddInDeploy
project (WIX installer) cannot be opened.
Make sure that the msbuild.exe
is on system PATH
. You can extend PATH
with following command:
set PATH=%PATH%;C:\Windows\Microsoft.NET\Framework64\v4.0.30319
To fully rebuild the solution and create the installer, execute:
msbuild qXL.sln /t:Rebuild /p:Configuration=Release
The installer is then built to the ExcelAddInDeploy\bin\Release
folder.
Note:
Make sure that installer is not built in the
Debug
configuration.
The version number in AssemblyInfo and installer is generated upon build based on environmental variables:
VERSION_MAJOR
,VERSION_MINOR
,VERSION_REVISION
,VERSION_BUILD
.
Version number follows the pattern VERSION_MAJOR.VERSION_MINOR.VERSION_REVISION.VERSION_BUILD
, where each version element is represented as 16 bit integer.
In addition the qXL
name can be post-fixed if the VERSION_TYPE
. This can be used to create BETA
and RC
flavours of build.
If a build is not automatically fetching the dependencies, then issuing the command
nuget install packages.config -o packages
on the command line in the qXL
root directory could be used to manually fetch those dependencies.